Hi!

> https://wiki.php.net/rfc/function_referencing

This syntax collides with by-ref assignment and by-ref arrays, which is
not good. Different things should not look the same.

I'm not sure also how exactly non-closures can function as closures - if
you take SplFixedArray::getSize and rebind it to SplFileObject, what is
supposed to happen?

I also do not understand why one needs &strlen if "strlen" works just
fine. Only to declare "PHP now has first-class functions"? You can
declare it right now. No need to change the syntax for that, since the
engine does exactly the same and no additional capabilities appear
(though additional problems - e.g. rebinding non-closures - do).
-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/

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

Reply via email to