Re: LSB forward_static_call()

From: Date: Sun, 22 Jun 2008 20:11:01 +0000
Subject: Re: LSB forward_static_call()
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-38516@lists.php.net to get a copy of this message
On Fri, 20 Jun 2008, Etienne Kneuss wrote: > To sum up key points about each possibilities: > > 1) forward_static_call > + no need to affect the engine > - slow, painful > > 2) parent:: carries the info while ParentClassName:: doesn't > + convenient > + no functionnality lost > - introduces a difference between parent:: and classname::, but > restricted to LSB so no BC break > > It really seems like (2) is the most PHP way of doing things, while > (1) is more of a hack that we will regret later. I'd go for 2 too. regards, Derick -- Derick Rethans http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org

« previous php.internals (#38516) next »