mirror of
https://github.com/php/php-src.git
synced 2024-12-01 13:54:10 +08:00
I'm too trigger-happy.
This commit is contained in:
parent
7920d4fc7e
commit
cc01431199
@ -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 function.
|
||||
* delete statement.
|
||||
|
||||
The Zend Engine 1.0 had no means to force deletion of an object
|
||||
if there are still references to it. The newly introduced delete
|
||||
function calls the object’s destructor and frees it even if the
|
||||
statement 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.
|
||||
|
Loading…
Reference in New Issue
Block a user