Re: [RFC] [Discussion] Literal Scalar Types

From: Date: Mon, 15 Jun 2026 02:02:59 +0000
Subject: Re: [RFC] [Discussion] Literal Scalar Types
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-131250@lists.php.net to get a copy of this message
On Mon, Jun 15, 2026 at 2:24 AM Seifeddine Gmati <azjezz@carthage.software> 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. >

« previous php.internals (#131250) next »