2026-09-18 18:35 UTC
What happens when you chain #PHP list() calls?
And when you include a full assignement in the middle?
Also, with #PHP 8.6 deprecating the list keyword, modern code likes like chains of arrays.
#phptip #phptrick
https://php-tips.readthedocs.io/en/latest/tips/list_or_array.html
Replies (1)
-
@jrf_nl@phpc.social 2026-09-18 19:35
@Exakat@phpc.social Eh... hang on... you do know that the `list()` deprecation failed to get the required number of votes ? And therefore is NOT happening in PHP 8.6...