Re: Interrupting instantiation

From: Date: Thu, 07 Oct 2004 18:15:59 +0000
Subject: Re: Interrupting instantiation
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-198868@lists.php.net to get a copy of this message
Chris Boget wrote:
In PHP4, is there any way to interrupt instantiation of an object? class Test
{ function Test() {
       $this = NULL; // Object destroyed by php gc
} } $hello = new Test; // $hello = NULL

« previous php.general (#198868) next »