History log of /php-src/ext/reflection/tests/ReflectionConstant_getFileName.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# f5e743a5 12-Sep-2024 Daniel Scherzer

Add ReflectionConstant::getFileName()

Allow determining the name of the file that defined a constant, when the
constant was defined in userland code via const or define(). For constants

Add ReflectionConstant::getFileName()

Allow determining the name of the file that defined a constant, when the
constant was defined in userland code via const or define(). For constants
defined by PHP core or extensions, false is returned, matching the existing
getFileName() methods on other reflection classes.

Fixes GH-15723
Closes GH-15847

show more ...