Newer versions of PHP have introduced some excellent language features that bring it closer to other modern programming languages. Despite all of that, there are definitely still things that I'd personally like to see added to PHP.
There are a few ways that generics can be implemented in programming languages - monomorphization, reification and type erasure.
Where the type string is any valid type you can add to a parameter, property or return type.
One of my goals with this parser is to fully support the PHP language but also add extensions behind feature flags to support things such as generics, type aliases, etc.