summaryrefslogtreecommitdiff
path: root/Zend/zend_objects.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-09-02 14:08:59 +0000
committerMarcus Boerger <helly@php.net>2003-09-02 14:08:59 +0000
commit9702c70a3501ad800d25bb73c62e1fb30b6d576f (patch)
tree5c05966f0e71f9a8aaf5b4b09981cdcaa78944d3 /Zend/zend_objects.c
parent3d6426ee14a38bed1ebbccaf75d8eccfd7d08060 (diff)
downloadphp-git-9702c70a3501ad800d25bb73c62e1fb30b6d576f.tar.gz
Synch/Unify error messages related to function/method calls
Diffstat (limited to 'Zend/zend_objects.c')
-rw-r--r--Zend/zend_objects.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_objects.c b/Zend/zend_objects.c
index 114d069dd0..67e943428a 100644
--- a/Zend/zend_objects.c
+++ b/Zend/zend_objects.c
@@ -50,7 +50,7 @@ ZEND_API void zend_objects_destroy_object(zend_object *object, zend_object_handl
zend_nuke_object(object TSRMLS_CC); /* unfortunately we *must* destroy it now anyway */
zend_error(EG(in_execution) ? E_ERROR : E_WARNING,
- "Call to private %s::__destruct from context '%s'%s",
+ "Call to private %s::__destruct() from context '%s'%s",
ce->name,
EG(scope) ? EG(scope)->name : "",
EG(in_execution) ? "" : " during shutdown ignored");
@@ -64,7 +64,7 @@ ZEND_API void zend_objects_destroy_object(zend_object *object, zend_object_handl
zend_nuke_object(object TSRMLS_CC); /* unfortunately we *must* destroy it now anyway */
zend_error(EG(in_execution) ? E_ERROR : E_WARNING,
- "Call to protected %s::__destruct from context '%s'%s",
+ "Call to protected %s::__destruct() from context '%s'%s",
ce->name,
EG(scope) ? EG(scope)->name : "",
EG(in_execution) ? "" : " during shutdown ignored");