diff options
author | Nikita Popov <nikic@php.net> | 2014-05-06 20:32:49 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2014-05-06 20:32:49 +0200 |
commit | ccc2c8ae165b94765b8dfe62c0a1bab7dabb1e37 (patch) | |
tree | 8cc3aba6d2a66cc9ae74a2f9843e11a4543617d3 /Zend/zend_API.c | |
parent | 80f8d20b7258395dbc85f62cc20ee043df9bacc2 (diff) | |
download | php-git-ccc2c8ae165b94765b8dfe62c0a1bab7dabb1e37.tar.gz |
Fix error message in parse_method_params
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r-- | Zend/zend_API.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 3116078f9d..8fc21f1769 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -1030,7 +1030,7 @@ ZEND_API int zend_parse_method_parameters(int num_args TSRMLS_DC, zval *this_ptr if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce TSRMLS_CC)) { zend_error(E_CORE_ERROR, "%s::%s() must be derived from %s::%s", - ce->name->val, get_active_function_name(TSRMLS_C), Z_OBJCE_P(this_ptr)->name->val, get_active_function_name(TSRMLS_C)); + Z_OBJCE_P(this_ptr)->name->val, get_active_function_name(TSRMLS_C), ce->name->val, get_active_function_name(TSRMLS_C)); } retval = zend_parse_va_args(num_args, p, &va, 0 TSRMLS_CC); |