From: Marcus Boerger Date: Tue, 28 Feb 2006 18:26:24 +0000 (+0000) Subject: - Make Derick happy for the moment X-Git-Tag: RELEASE_1_2~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4fb5bc4b6ee2a3f0601aeca8cd6f87e4e1bdbbe3;p=php - Make Derick happy for the moment --- diff --git a/ext/reflection/TODO b/ext/reflection/TODO new file mode 100755 index 0000000000..a2c9ba0887 --- /dev/null +++ b/ext/reflection/TODO @@ -0,0 +1,3 @@ +Reflection ToDo: + +- Drop ReflectionParameter::getClass() as soon as 5.2 comes out diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 098196a5f5..b892a8152c 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -4365,6 +4365,7 @@ static zend_function_entry reflection_parameter_functions[] = { ZEND_ME(reflection_parameter, getName, NULL, 0) ZEND_ME(reflection_parameter, isPassedByReference, NULL, 0) ZEND_ME(reflection_parameter, getDeclaringClass, NULL, 0) + ZEND_MALIAS(reflection_parameter, getClass, getDeclaringClass, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_DEPRECATED) ZEND_ME(reflection_parameter, isArray, NULL, 0) ZEND_ME(reflection_parameter, allowsNull, NULL, 0) ZEND_ME(reflection_parameter, isOptional, NULL, 0)