]> granicus.if.org Git - php/commitdiff
Show the name of the abstract method in the error.
authorSebastian Bergmann <sebastian@php.net>
Thu, 21 Nov 2002 14:20:25 +0000 (14:20 +0000)
committerSebastian Bergmann <sebastian@php.net>
Thu, 21 Nov 2002 14:20:25 +0000 (14:20 +0000)
Zend/zend_execute.c

index 9b9ffd0d98d908451c745b9bcbf8a025f44d76e4..9b02426796fccecc9d02c33fd4757ca72f9fb4e1 100644 (file)
@@ -3575,7 +3575,7 @@ int zend_begin_silence_handler(ZEND_OPCODE_HANDLER_ARGS)
 
 int zend_raise_abstract_error_handler(ZEND_OPCODE_HANDLER_ARGS)
 {
-       zend_error(E_ERROR, "Cannot call abstract method");
+       zend_error(E_ERROR, "Cannot call abstract method %s()", op_array->function_name);
        NEXT_OPCODE(); /* Never reached */
 }