diff options
| author | Dmitry Stogov <dmitry@php.net> | 2007-09-11 11:16:46 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2007-09-11 11:16:46 +0000 |
| commit | d085fa1fe1d261d134f4a1dd5ca3b7356e1bc922 (patch) | |
| tree | 2f36a31b691fcbc7e1a95c8f7d8d14a33a6815d7 | |
| parent | 957f3ddd718905d0e469b45e0f332a9767c01bd6 (diff) | |
| download | php-git-d085fa1fe1d261d134f4a1dd5ca3b7356e1bc922.tar.gz | |
Simplify (the prototype of zend_u_get_constant_ex() is going to be changed)
| -rw-r--r-- | ext/reflection/php_reflection.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
