On 6/18/08, Andi Gutmans <[EMAIL PROTECTED]> wrote: > 1) I am not sure that the current semantics of the "lexical" keyword is > great in all cases. Is the reason why you don't allow by-value binding so > that we don't have to manage more than one lambda instance per declaration?
by-reference binding is much closer to other languages symantics. I guess, that was the main reason Christian chose it. "by-value" may still exist, if people find, that they need it, but only in addition, please. lambda has to reflect changing state of context, to be truly useful -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php