To be clear, my statement was about the closures and not sexier anonymous functions. I agree that we need to do an RFC on this matter.

-Andrei

On Feb 23, 2008, at 8:36 PM, Andi Gutmans wrote:

I think we have to be very clear whether we are going to provide just a
sexier notation for anonymous functions or closures (and if the latter
what the semantics are).
Just doing one and not figuring out the long term piece doesn't make
sense because we may end up having two completely distinct features
and/or feature creep over the next year which doesn't make much sense to
me.

I think in last discussion most ppl just preferred a sexier anonymous
function esp. as there weren't very clear/clean proposals for how
closures would work in PHP and what the benefits would be.

So I definitely suggest to have a discussion, maybe RFC based like
Stefan did but really decide once and for all on where we'd like to go
with this. We all know that no features map 1:1 to PHP and there are
always unique behaviors of our language and environment which require a
fresh view at things.


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

Reply via email to