[–] pwdisswordfishy 5mo ago ↗ Why? The article fails to explain.> The introduction of first-class callables simplifies callback handling. You no longer have an excuse to define your callbacks like this:> <?php> $data = array_map(trim(...), [' x', 'z ']);“First-class callables” is that exact syntax.
3 comments
[ 0.24 ms ] story [ 18.0 ms ] thread> The introduction of first-class callables simplifies callback handling. You no longer have an excuse to define your callbacks like this:
> <?php
> $data = array_map(trim(...), [' x', 'z ']);
“First-class callables” is that exact syntax.