Re: delete in PHP
| From: | Derick Rethans | Date: | Wed, 02 Jun 2004 06:36:56 +0000 |
| Subject: | Re: delete in PHP | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-10239@lists.php.net to get a copy of this message | ||
On Tue, 1 Jun 2004, Ferdinand Beyer wrote:
> 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.
Right, let's stop this thread here.
Derick