Hi!

> But it’s rather weird for closures:
> 
>     $foo = Foo function () {
>     };

Not much weirder than:

$foo = static function () { ... }

which we already have. Putting modifiers in front of the function is
nothing foreign to PHP.

-- 
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