]> granicus.if.org Git - php/commitdiff
- Trying to invoke function not methot here
authorMarcus Boerger <helly@php.net>
Wed, 3 Nov 2004 21:18:44 +0000 (21:18 +0000)
committerMarcus Boerger <helly@php.net>
Wed, 3 Nov 2004 21:18:44 +0000 (21:18 +0000)
Zend/zend_reflection_api.c
ext/reflection/php_reflection.c

index 8f03e8ef6a1d6edba1245b0038b334b0703827d9..f19e0b72a96072fa8ee5c3f2643c5652dbb07e8e 100644 (file)
@@ -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;
        }
 
index 8f03e8ef6a1d6edba1245b0038b334b0703827d9..f19e0b72a96072fa8ee5c3f2643c5652dbb07e8e 100644 (file)
@@ -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;
        }