Re: late static binding php6

From: Date: Mon, 23 Jul 2007 11:13:49 +0000
Subject: Re: late static binding php6
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-31181@lists.php.net to get a copy of this message
Lukas Kahwe Smith wrote:
Sebastian Deutsch wrote:
hello, is there a patch for the proposal out there? is anyone working on that problem?
There might be a patch flying around ... Last I heard from Marcus was that it seems impossible to find a solution for this without accepting a slow down/memory footprint increase for everything else as well. Maybe still worthwhile? regards, Lukas My tests on a quite complete patch show no important slowdown, even when benchmarking
with Zend/bench.php which uses a stupid amount of function calls. About the memory, it stores a stack of scopes pointers. Hence it shouldn't consume much under normal circumstances. However the patch is not finished, some ambiguities remain. So I won't publish it for now. There is another quite old patch out there using a different approach from mine, you should be able to google it quite easily. regards -- Etienne Kneuss http://www.colder.ch Men never do evil so completely and cheerfully as when they do it from a religious conviction. -- Pascal

« previous php.internals (#31181) next »