News for hackers. Stuff that matters.
Re:What's New in PHP 8.1 by tottenhm on Friday January 29, 2021 @06:43PM (#25964367)
In fairness, it does give choices -- https://www.php.net/manual/en/spl.datastructures.php
Re:What's New in PHP 8.1 by duskwuff on Saturday January 30, 2021 @01:23AM (#25966758)
The SPL data structures are widely considered a mistake. They're awkwardly designed, cannot be type-hinted, and often perform worse than pure-PHP alternatives.