Hi!
This lookup happens at the time the closure is first declared, and the value is stored for later use by the closure; the calling scope doesn't
This would work for $var, but what about $$var and various other ways of indirect variable access?
-- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php