summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2004-11-03 21:18:44 +0000
committerMarcus Boerger <helly@php.net>2004-11-03 21:18:44 +0000
commitfcbd8c4f992aebbde71d59c826c4eea3118d25a6 (patch)
tree0e6c8a13dfcaaa71ad853ce6e2ac7e5e127fc6e8
parent63b288c4646d405d0edfb7657505b2acf5643514 (diff)
downloadphp-git-fcbd8c4f992aebbde71d59c826c4eea3118d25a6.tar.gz
- Trying to invoke function not methot here
-rw-r--r--Zend/zend_reflection_api.c4
-rw-r--r--ext/reflection/php_reflection.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/Zend/zend_reflection_api.c b/Zend/zend_reflection_api.c
index 8f03e8ef6a..f19e0b72a9 100644
--- a/Zend/zend_reflection_api.c
+++ b/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;
}
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index 8f03e8ef6a..f19e0b72a9 100644
--- a/ext/reflection/php_reflection.c
+++ b/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;
}