Re: calling static method dynamically (was: Re: [PEAR-DEV] Patch for bugs in errorhandling in PEAR 1.3)

From: Date: Wed, 03 Mar 2004 16:13:08 +0000
Subject: Re: calling static method dynamically (was: Re: [PEAR-DEV] Patch for bugs in errorhandling in PEAR 1.3)
References: 1  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-813@lists.php.net to get a copy of this message
Hundiak, Arthur wrote:
I'd like to point out that in PHP5 static methods can only be called using the class syntax (CLASS:method() )and cannot be called using object syntax ($object->method). isset($this) no longer has any meaning. As Greg has suggested, all PEAR methods using isset($this) need to be split into two methods once PHP5 is deployed. May as well do it now. BTW, there is a long thread on this topic on the internals mailing list.
Not having read that thread entirely I got the impression that things will not change actually. 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.qa (#813) next »