11

Short syntax for closures

Posted by IgorVodka 6 months ago

PHP really needs some short closure syntax. ```php $func = (int $x) -> doSomething($x); ```
savuxa ยท 6 months ago