I found another flaw; when used in a loop it keeps trying to declare the same function over and over. I think this is because the ZEND_DECLARE_FUNCTION opcode is emitted as part of the arg list building op sequence.

I'm poking to find an elegant way to fix that.

--Wez.

On Mar 18, 2007, at 7:41 PM, Wez Furlong wrote:

You can find my prototype patch at http://pastebin.ca/400871 (against PHP_5_2)

There's one minor flaw in my implementation for ZTS enabled systems (just need to move the anon function counter into CG() to solve that.

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to