Re: late static binding
| From: | Marcus Boerger | Date: | Thu, 26 Apr 2007 17:20:13 +0000 |
| Subject: | Re: late static binding | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-29058@lists.php.net to get a copy of this message | ||
Hello Lukas,
iirc everyone interested agreed to that syntax. However so far we only saw
one implementation and that comes with a slowdown of every function call.
The problem is that the only known solution so far is to puch the context
(the initial calling scope/class) along with $this etc on the calling stack.
That would result in pushing 4 instead of 3 pointers. However there hasn't
been an analysis of permformance impact - at least not that i am aware of.
best regards
marcus
Thursday, April 26, 2007, 5:00:06 PM, you wrote:
> Hello,
> does anyone have a patch for PHP6 to add late static binding?
> have we agreed on the syntax?
> IIRC, static:: as the favorite ..?
> regards,
> Lukas
Best regards,
Marcus