From d085fa1fe1d261d134f4a1dd5ca3b7356e1bc922 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 11 Sep 2007 11:16:46 +0000 Subject: [PATCH] Simplify (the prototype of zend_u_get_constant_ex() is going to be changed) --- ext/reflection/php_reflection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index b69bfed85d..e7250818b1 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -2058,7 +2058,7 @@ ZEND_METHOD(reflection_parameter, getClass) return; } pce= &ce->parent; - } else if (zend_u_lookup_class_ex(UG(unicode)?IS_UNICODE:IS_STRING, param->arg_info->class_name, param->arg_info->class_name_len, 1, 1, &pce TSRMLS_CC) == FAILURE) { + } else if (zend_u_lookup_class(UG(unicode)?IS_UNICODE:IS_STRING, param->arg_info->class_name, param->arg_info->class_name_len, &pce TSRMLS_CC) == FAILURE) { zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC, "Class %v does not exist", param->arg_info->class_name); return; -- 2.50.1