]> granicus.if.org Git - php/commitdiff
- Mark the parameter for ReflectionProperty::GetValue as optional
authorJohannes Schlüter <johannes@php.net>
Fri, 17 Aug 2007 14:21:00 +0000 (14:21 +0000)
committerJohannes Schlüter <johannes@php.net>
Fri, 17 Aug 2007 14:21:00 +0000 (14:21 +0000)
# [DOC] The documentation on this is wrong, too. The parameter is only
# needed for getting the value of an object's property, not for static
# ones. (I'm not sure if it has always been that way...)

ext/reflection/php_reflection.c

index 95ad56321d90291135c43d48b376a28e0359bb40..14ef23a145a5535a42f5e2bd25971b4f2e178789 100644 (file)
@@ -4817,7 +4817,7 @@ ZEND_BEGIN_ARG_INFO(arginfo_reflection_property___construct, 0)
 ZEND_END_ARG_INFO()
 
 static
-ZEND_BEGIN_ARG_INFO(arginfo_reflection_property_getValue, 0)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_reflection_property_getValue, 0, 0, 0)
        ZEND_ARG_INFO(0, object)
 ZEND_END_ARG_INFO()