Voting is now open. The [VOTE] thread is here: https://news-web.php.net/php.internals/131236
The vote started on 2026-06-14 at 16:50 UTC and ends on 2026-06-28 at 17:00 UTC. Two votes on the RFC page: 1. Primary, 2/3 majority: accept the RFC. 2. Secondary, simple majority, conditional on the primary: variance marker syntax. Thanks again to everyone who contributed to the discussion. Regards, Seifeddine. On Sun, 10 May 2026 at 20:02, Seifeddine Gmati <[email protected]> wrote: > > 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.
