Hello Internals, I'd like to start the discussion on a new RFC adding bound-erased generics types to PHP.
Generic type parameters can be declared on classes, interfaces, traits, functions, methods, closures, and arrow functions, with bounds, defaults, and variance markers. Type parameters erase to their bound at runtime; the pre-erasure form is preserved for Reflection and consumed by static analyzers. - RFC: https://wiki.php.net/rfc/bound_erased_generic_types - Implementation: https://github.com/php/php-src/pull/21969 Thanks, Seifeddine.
