On 6/14/26 20:22, Seifeddine Gmati wrote:
Hello Internals,

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

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

Thanks,
Seifeddine.


I think I'm okay with this. David mentioned enums, and I do think enums are useful in many places where you want types like this, but there's a simplicity in this that I can't deny, and I like it.

Cheers,
Ben

Reply via email to