From: Sebastian Bergmann Date: Sun, 16 Dec 2001 19:57:53 +0000 (+0000) Subject: delete is now function X-Git-Tag: PRE_ISSET_PATCH~516 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7920d4fc7e17b686e6d7fb0ba3b04e6940152047;p=php delete is now function --- diff --git a/Zend/ZEND_CHANGES b/Zend/ZEND_CHANGES index fda1c2ca7b..c9605337c6 100644 --- a/Zend/ZEND_CHANGES +++ b/Zend/ZEND_CHANGES @@ -26,11 +26,11 @@ Changes in the Zend Engine 2.0 occurs, in order to allow developers to gradually migrate to the version 2.0-style behavior (without automatic clones). - * delete statement. + * delete function. The Zend Engine 1.0 had no means to force deletion of an object - if there are still references to it. The newly introduces delete - statement calls the object’s destructor and frees it even if the + if there are still references to it. The newly introduced delete + function calls the object’s destructor and frees it even if the object is referenced by some other places in the engine. Other references to the deleted object become stale and trying to access them results in a fatal error.