]> granicus.if.org Git - php/commit
Fixed bug #77325
authorNikita Popov <nikita.ppv@gmail.com>
Fri, 28 Feb 2020 16:19:37 +0000 (17:19 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 28 Feb 2020 16:21:19 +0000 (17:21 +0100)
commit0d06a63ee311270a25bc0147271215c3ad90eba0
tree14620ab41860aaba2d54f909e0dab754d73dad96
parent30c23887381a432cb501d63e25f79bce5e0e1570
Fixed bug #77325

Make ReflectionClassConstant->class the declaring class, not the
class on which the constant was fetched. This matches the behavior
for properties and methods.
NEWS
ext/reflection/php_reflection.c
ext/reflection/tests/bug77325.phpt [new file with mode: 0644]