[php-src] Issue #15723: `ReflectionConstant` in PHP 8.4 does not offer declaration file information
| From: | janedbal | Date: | Tue, 03 Sep 2024 10:05:52 +0000 |
| Subject: | [php-src] Issue #15723: `ReflectionConstant` in PHP 8.4 does not offer declaration file information | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-247687@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/15723
Author: janedbal
### Description
When I spotted this new reflection class, I was hoping I could use it for detection of originated
[vendor
package](https://github.com/shipmonk-rnd/composer-dependency-analyser/issues/137#issuecomment-2120538251).
But as I can see, [there is no getFileName
method](https://github.com/php/php-src/blob/a7f789ec56ca081175d1e8cde4e22573043396f0/ext/reflection/php_reflection.stub.php#L895).
Is this due to some technical limitation or can that be added? Thank you
cc @iluuu1994