summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}