[PHP-DEV] Re: [RFC] [VOTE] Literal Scalar Types

Seifeddine Gmati <[email protected]> Thu, 30 Jul 2026 00:53:52 +0100
Newsgroups gmane.comp.php.devel
Message-ID <CAFyg4HgzSn=+80jtPm8A5sfrRzD4d+XP=JvWtyCS2FJtC4oMzQ@mail.gmail.com>
On Thu, 23 Jul 2026 at 06:26, Seifeddine Gmati <[email protected]> wrote:
>
> Hello internals,
>
> Voting is now open on the Literal Scalar Types RFC, as announced in the discussion thread earlier.
>
> There are three votes on the RFC page, running concurrently:
>
> 1. Primary vote, requires a 2/3 majority: add integer and string literal types.
> 2. Second vote, requires a 2/3 majority, independent of the first: add floating point literal types. The RFC is accepted if at least one of the two type votes passes; if both fail, it is rejected.
> 3. Third vote, simple majority, effective only if at least one type vote passes: matching semantics, strict vs coercive. The RFC recommends strict matching.
>
> The vote started on 2026-07-23 and ends on 2026-08-06.
>
> RFC: https://wiki.php.net/rfc/literal_scalar_types
> Discussion thread: https://news-web.php.net/php.internals/131249
>
> Seifeddine
> Cheers.

Hello internals,

An update on timing: this RFC will no longer target PHP 8.6.

I asked the 8.6 Release Manager about the feature freeze. The
effective cutoff is not the beta1 announcement on August 13 but the
creation of the beta1 tag, which happens on Tuesday, August 11,
mid-morning US Central time. A vote opened today would close on August
13, after the tag exists, so inclusion in 8.6 is not possible. I will
therefore not reopen the vote, and the Intent to Vote I posted on July
23 is withdrawn.

I have retargeted the RFC to the next PHP version, whether that is 8.7
or 9.0. RFC text is otherwise unchanged and remains final:
https://wiki.php.net/rfc/literal_scalar_types

Seifeddine