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

From: Date: Mon, 11 May 2026 21:58:52 +0000
Subject: Re: [RFC] [Discussion] Bound-Erased Generic Types
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-130841@lists.php.net to get a copy of this message
Hi Ben > Apologies to Seifeddine. I forgot they maintain Mago. :-) > > But my question still stands for PHPStan, Psalm, and others. We have endorsement from Matt Brown, creator of Psalm and the static-analysis author most responsible for putting function-level @template into production PHP. (Phan shipped class-level generics first; the function-generics work that the rest of the ecosystem followed came through Psalm.) Regarding PHPStan, I contacted Ondřej to confirm that everything in the RFC works well from their perspective. I think it does, but verification is still in progress. Cheers, Seifeddine.

« previous php.internals (#130841) next »