]> granicus.if.org Git - php/commit
Always invoke zpp in ReflectionProperty::getValue/isInitialized
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 10 Feb 2020 10:05:26 +0000 (11:05 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 10 Feb 2020 10:05:26 +0000 (11:05 +0100)
commit42fbc76d9cee94241e56c82a8550ee6221d0f239
tree8609d3a2538dd70893e5d8902bab91fbe8df97ff
parent87f127d8fa7b03e8f32962fc720da5df1a505fa5
Always invoke zpp in ReflectionProperty::getValue/isInitialized

Make sure we still perform a zpp check for the static case, and
also always enforce that the parameter is ?object. Otherwise we
violate the specified signature.
ext/reflection/php_reflection.c
ext/reflection/php_reflection.stub.php
ext/reflection/php_reflection_arginfo.h
ext/reflection/tests/ReflectionProperty_getValue_error.phpt
ext/reflection/tests/ReflectionProperty_isInitialized.phpt