Another really great attempt for PHP generics "Bound-Erased generic types" by @azjezz is under discussion atm. Thanks for the hint @brendt

... I'd much rather have native typesafe arrays and maps, but hey, generics! I hope the discussions take a positive turn. If so, I hope that `array<K, V>` will follow. PHP can better than `array`...

https://wiki.php.net/rfc/bound_erased_generic_types

#PHP #PHPGenerics

PHP: rfc:bound_erased_generic_types

Finally Generics coming in PHP 9 🎉

#php #generics #php9 #phpGenerics