Re: Fwd: Re: [PHP-DEV] Assigning to $this

From: Date: Wed, 04 Feb 2004 19:39:33 +0000
Subject: Re: Fwd: Re: [PHP-DEV] Assigning to $this
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-25504@lists.php.net to get a copy of this message
move everything that could create errors in a separat method. if you have a factory method you can call this method from there after the object has been instanciated. Since this is a PHP5 issue, perhaps classes that do this (assuming it's for error purposes) should just branch for PHP5 & throw Exceptions. Seems like an easy solution.
Hans

« previous php.pear.dev (#25504) next »