←
php-net265 posts
php-net avatar

php-net

@php_net

Credits: php.net/license

◷ Joined December 2008▧ 7 Photos and videos
php-net avatar
php-net@php_net·Sep 2

PHP 8.6 lets you write this: $slugify = str_replace(' ', '-', ?); No closure, no fn() wrapper. That is partial function application, one of 27 RFCs in 8.6. All of them, with snippets run on 8.6.0beta2: php-net.pro/php-8.6