From 4fb5bc4b6ee2a3f0601aeca8cd6f87e4e1bdbbe3 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Tue, 28 Feb 2006 18:26:24 +0000 Subject: [PATCH] - Make Derick happy for the moment --- ext/reflection/TODO | 3 +++ ext/reflection/php_reflection.c | 1 + 2 files changed, 4 insertions(+) create mode 100755 ext/reflection/TODO diff --git a/ext/reflection/TODO b/ext/reflection/TODO new file mode 100755 index 00000000000..a2c9ba08872 --- /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 098196a5f5e..b892a8152cd 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)