Browse Source

- Trying to invoke function not methot here

PHP-5.1
Marcus Boerger 22 years ago
parent
commit
fcbd8c4f99
  1. 4
      Zend/zend_reflection_api.c
  2. 4
      ext/reflection/php_reflection.c

4
Zend/zend_reflection_api.c

@ -1380,7 +1380,7 @@ ZEND_METHOD(reflection_function, invoke)
if (result == FAILURE) {
zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC,
"Invocation of method %s() failed", fptr->common.function_name);
"Invocation of function %s() failed", fptr->common.function_name);
return;
}
@ -1444,7 +1444,7 @@ ZEND_METHOD(reflection_function, invokeArgs)
if (result == FAILURE) {
zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC,
"Invokation of method %s() failed", fptr->common.function_name);
"Invocation of function %s() failed", fptr->common.function_name);
return;
}

4
ext/reflection/php_reflection.c

@ -1380,7 +1380,7 @@ ZEND_METHOD(reflection_function, invoke)
if (result == FAILURE) {
zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC,
"Invocation of method %s() failed", fptr->common.function_name);
"Invocation of function %s() failed", fptr->common.function_name);
return;
}
@ -1444,7 +1444,7 @@ ZEND_METHOD(reflection_function, invokeArgs)
if (result == FAILURE) {
zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC,
"Invokation of method %s() failed", fptr->common.function_name);
"Invocation of function %s() failed", fptr->common.function_name);
return;
}

Loading…
Cancel
Save