cvs: ZendEngine2 / zend_execute_API.c
| From: | Marcus Boerger | Date: | Sun, 13 Mar 2005 13:22:03 +0000 |
| Subject: | cvs: ZendEngine2 / zend_execute_API.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3486@lists.php.net to get a copy of this message | ||
helly Sun Mar 13 08:22:03 2005 EDT
Modified files:
/ZendEngine2 zend_execute_API.c
Log:
- Actually this is a much better error decription
http://cvs.php.net/diff.php/ZendEngine2/zend_execute_API.c?r1=1.312&r2=1.313&ty=u
Index: ZendEngine2/zend_execute_API.c
diff -u ZendEngine2/zend_execute_API.c:1.312 ZendEngine2/zend_execute_API.c:1.313
--- ZendEngine2/zend_execute_API.c:1.312 Sun Mar 13 08:15:08 2005
+++ ZendEngine2/zend_execute_API.c Sun Mar 13 08:22:02 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_execute_API.c,v 1.312 2005/03/13 13:15:08 helly Exp $ */
+/* $Id: zend_execute_API.c,v 1.313 2005/03/13 13:22:02 helly Exp $ */
#include <stdio.h>
#include <signal.h>
@@ -697,7 +697,7 @@
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);
}