Slide 49
Slide 49 text
© 2012-2019 BASE, Inc.
© 2012-2020 BASE, Inc.
#phpcon
Attributes
49
クラス・プロパティ...etcも構造化・構文的な
メタデータとしての属性定義
Annotations in Java
Attributes in C#, C++, Rust, Hack
Decorators in Python, Javascript
RFC: https://wiki.php.net/rfc/attributes_v2
PR: https://github.com/php/php-src/pull/5394
(主な)phpt files:
Zend/tests/attributes/* (33 files)