[php-src] PR #15847: GH-15723: add `ReflectionConstant::getFileName()`
| From: | DanielEScherzer | Date: | Thu, 12 Sep 2024 01:46:11 +0000 |
| Subject: | [php-src] PR #15847: GH-15723: add `ReflectionConstant::getFileName()` | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28547@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15847
Author: DanielEScherzer
Allow determining the name of the file that defined a constant, when the constant was defined in
userland code via
define(). For constants defined by PHP core or extensions,
false is returned, matching the existing getFileName() methods on other
reflection classes.