2010-02-21 03:55, Joey Smith skrev:
There's a pretty big difference between how PHP implements closures and how
JavaScript implements them
I have seen that, but my question is about language, not implementation.
FWIW, taking my educator perspective, PHP's way of explicitly pointing
out what variables are part of the closure is very easy to explain.
The way you are using the word "closure" in your reply is consistent
with the way I'd like to see it used, though.
--
Keryx Web (Lars Gunther)
http://keryx.se/
http://twitter.com/itpastorn/
http://itpastorn.blogspot.com/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php