18

Attributes v2 by beberlei · Pull Request #2 · beberlei/php-src · GitHub

 4 years ago
source link: https://github.com/beberlei/php-src/pull/2#issuecomment-609406987
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
RFC: https://wiki.php.net/rfc/attributes_v2Required work Full resolve class names, currently hardcoded NOFQ ReflectionAttribute::getAsObject implementation. Fix name inconsistencies, attribute_value should become attribute_argument, attribute_list should be the top definition of << attributes >> in parser. Memory leaks Multiple arguments with a constant expression seem to be ignored by parser Introduce and check for Opcache\Jit and Nojit Add support for attributes on ReflectionParameter Implement $name filter for attribute or subclass of Add PhpAttribute and PhpCompilerAttribute classes Validate correctness of compiler attributes during compile step.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK