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

From: Date: Wed, 04 Feb 2004 18:57:30 +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-25501@lists.php.net to get a copy of this message
Jan Schneider wrote:
Zitat von Lorenzo Alberton <l.alberton@quipo.it>:
FYI: read the mail below, from php.internals newsgroup. There are > 10 packages in PEAR that use the "$this = $sth_else;" hack. Since it will not be supported in PHP5 anymore, has anyone a viable alternative to it?
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. 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 (#25501) next »