On Mon, Jun 15, 2026 at 2:24 AM Seifeddine Gmati <[email protected]>
wrote:

> Hello Internals,
>
> I'd like to start the discussion on a new RFC adding literal scalar
> types to PHP.
>

Prima facie, I feel like enums already do what this aims to achieve, much
better.


>
> - RFC: https://wiki.php.net/rfc/literal_scalar_types
> - Implementation: https://github.com/php/php-src/pull/22314
>
> Thanks,
> Seifeddine.
>

Reply via email to