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

From: Date: Wed, 04 Feb 2004 19:40:24 +0000
Subject: Re: Fwd: Re: [PHP-DEV] Assigning to $this
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-25505@lists.php.net to get a copy of this message
Hans Lellelid wrote:
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.
if they branch off then there is no BC issue anyways :-) and at that point they should rather fix the flawed logic (well it was always flawed, but reality was flawed too, so the flawed logic worked flawlessly where it shoudnt have). regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07

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