Introduce ReflectionConstant
| From: | Ilija Tovilo | Date: | Mon, 15 Apr 2024 14:12:36 +0000 |
| Subject: | Introduce ReflectionConstant | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-123138@lists.php.net to get a copy of this message | ||
Hi everyone
We recently received a feature request to allow reflection of global
constants, primarily to check whether they are deprecated.
https://github.com/php/php-src/issues/13570
I created a simple PR to introduce a minimal
ReflectionConstant class.
https://github.com/php/php-src/pull/13669
If there are no objections, I'd like to merge this PR in a few days.
Ilija