summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-03-13 13:22:02 +0000
committerMarcus Boerger <helly@php.net>2005-03-13 13:22:02 +0000
commitd8db1c2cc54e9ae0a6de6980d0473e499d694f30 (patch)
tree20a969f9e0c7c0d8d2b1e2bfb7c32d42928505cb /Zend/zend_execute_API.c
parent565e832edfab3f39a3841fe83c2bc0f32f4497a4 (diff)
downloadphp-git-d8db1c2cc54e9ae0a6de6980d0473e499d694f30.tar.gz
- Actually this is a much better error decription
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r--Zend/zend_execute_API.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index e9fd83b25b..200b61708a 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -697,7 +697,7 @@ int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache TS
char *function_name_lc = zend_str_tolower_dup(Z_STRVAL_P(fci->function_name), Z_STRLEN_P(fci->function_name));
if (zend_hash_find(&calling_scope->function_table, function_name_lc, fci->function_name->value.str.len+1, (void **) &EX(function_state).function)==FAILURE) {
efree(function_name_lc);
- zend_error(E_ERROR, "Object does not support parent class method calls");
+ zend_error(E_ERROR, "Cannot call method %s::%s() or method does not exist", calling_scope->name, Z_STRVAL_P(fci->function_name));
}
efree(function_name_lc);
}