Sun, 26 Apr 2026 00:00:50 +0000
php, opensource

PHP arrays don't really have keys, they have a sad approximation of them. I got tired of working around it and built proper collections for PHP 8.4. Real generics, key preservation, mutable+immutable variants. Six months of weekends, wrote it up: https://dev.to/delacry/type-safe-collections-in-php-84-what-i-wish-arrays-had-4gof #php #opensource