On 6/18/08, Stanislav Malyshev <[EMAIL PROTECTED]> wrote: > Which brings me to another point - how bad would it be if closure's > lifetime would be limited to parent's lifetime? Of course, this would limit > some tricks, but would allow some other - like this direct access to > parent's scope.
that would be seriously bad, because it will eliminate possibility of lambda-generating functions -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php