Skip to content

Document ReflectionConstant::getAttributes() (PHP 8.5)#5675

Open
lacatoire wants to merge 2 commits into
php:masterfrom
lacatoire:feat/reflection-constant-getattributes-8.5
Open

Document ReflectionConstant::getAttributes() (PHP 8.5)#5675
lacatoire wants to merge 2 commits into
php:masterfrom
lacatoire:feat/reflection-constant-getattributes-8.5

Conversation

@lacatoire

Copy link
Copy Markdown
Member

PHP 8.5 adds ReflectionConstant::getAttributes() (RFC: attributes on constants), which had no documentation. Adds the method page.

Verified against php-src: ext/reflection/php_reflection.stub.php declares getAttributes(?string $name = null, int $flags = 0): array, matching the documented signature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant