Comment by Yokohiii

18 hours ago

Not sure why a language that barely has a type system needs generics.

PHP has had a type system for over a decade now, including things like union and intersection types that are still not in Java. Most static checking still needs an external analyzer, but even without one, PHP does check subclasses and interface implementations for Liskov substitutability in a way that Python does not.