RFCs of the Future: Closure from Callable

 3 years ago 3,722 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

SPONSORS

SPONSORS