Re: [RFC] [Discussion] Bound-Erased Generic Types

From: Date: Wed, 13 May 2026 19:36:53 +0000
Subject: Re: [RFC] [Discussion] Bound-Erased Generic Types
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-130872@lists.php.net to get a copy of this message
> - RFC: https://wiki.php.net/rfc/bound_erased_generic_types A few updates were made to the RFC today: - Migration diff: full patch showing PSL's Graph package moving from @template to native syntax. https://wiki.php.net/rfc/bound_erased_generic_types#migrating_from_docblock_generics - Secondary vote on variance markers: +T/-T vs in T/out T. - Performance section: https://wiki.php.net/rfc/bound_erased_generic_types#performance - Enforcement framing is promoted; turbofish optionality now leads its section. - ReflectionGenericVariance is now a unit enum. Thanks to everyone who has reviewed. Cheers, Seifeddine.

« previous php.internals (#130872) next »