RFCs of the Future: Closure from Callable

 7 years ago 7,214 views
Callables are awesome. I can pass functions or object methods around inside of variables. Sure, they can be abused to the point where you can’t recognize your code, but overall, they are awesome. Could they be made more awesome? Core Developer Dan Ackroyd seems to think so. So for PHP 7.1 he proposed and got passed PHP RFC: Closure from callable function.
Tags: php,rfc,callables

SPONSORS

PHP Tutorials and Videos

SPONSORS

SPONSORS

PHP Tutorials and Videos