On Mar 19, 2007, at 4:15 PM, Stanislav Malyshev wrote:

How this is going to work? Variables are not interpreted by the compiler now...


Well, the compiler would make a list of variables names to import and store those in the zend_function structure. Then at the time the function is bound (in response to a DECLARE_FUNCTION opcode), the variable reference could be fixed up in the "same" way that global is handled.

--Wez.

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

Reply via email to