On Sunday, 10 May 2026 at 21:05, 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

As you already know from off list discussion I will vote against this RFC.
I've laid my arguments in a blog post on my website. [1]

The only thing I take offence to is saying my attempt/proposal has stalled.
Me not actively working on it 24/7 doesn't mean it stalled, and I had started 
working on it earlier in the year before this RFC landed, or I was aware you 
were working on something.

Best regards,

Gina P. Banyard

[1] https://gpb.moe/blog/opinion-bound-erased-generics.html

Reply via email to