From fcbd8c4f992aebbde71d59c826c4eea3118d25a6 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Wed, 3 Nov 2004 21:18:44 +0000 Subject: [PATCH] - Trying to invoke function not methot here --- Zend/zend_reflection_api.c | 4 ++-- ext/reflection/php_reflection.c | 4 ++-- 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; } -- 2.50.1