Re: delete in PHP

From: Date: Tue, 01 Jun 2004 16:32:24 +0000
Subject: Re: delete in PHP
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-10217@lists.php.net to get a copy of this message
On 1 Jun 2004 at 16:50, Florian Schaper wrote: > My version of delete works like the delete we know from C++. The object's > destructor and the object is then released immediately. All references of > this object are set to IS_NULL. > > Some might argue that this is a feature not worth having if you have an > garbage collector but I can think about a few uses. There has been a heated discussion on this topic and the conclusion was to drop delete. Please search the archives for pros and cons. -- Ferdinand Beyer <fb@fbeyer.com>

« previous php.internals (#10217) next »