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

Seifeddine Gmati <[email protected]> Thu, 23 Jul 2026 06:26:44 +0100
Newsgroups gmane.comp.php.devel
Message-ID <CAFyg4HhcKmKv3JKB1mRPSH53-BYV3QY_a4o_E2P2b4UsTjPXAQ@mail.gmail.com>
--00000000000019251d0657408132
Content-Type: text/plain; charset="UTF-8"

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.

--00000000000019251d0657408132
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello internals,<br><br>Voting is now open on the Literal =
Scalar Types RFC, as announced in the discussion thread earlier.<br><br>The=
re are three votes on the RFC page, running concurrently:<br><br>1. Primary=
 vote, requires a 2/3 majority: add integer and string literal types.<br>2.=
 Second vote, requires a 2/3 majority, independent of the first: add floati=
ng point literal types. The RFC is accepted if at least one of the two type=
 votes passes; if both fail, it is rejected.<br>3. Third vote, simple major=
ity, effective only if at least one type vote passes: matching semantics, s=
trict vs coercive. The RFC recommends strict matching.<br><br>The vote star=
ted on 2026-07-23 and ends on 2026-08-06.<br><br>RFC: <a href=3D"https://wi=
ki.php.net/rfc/literal_scalar_types">https://wiki.php.net/rfc/literal_scala=
r_types</a><br>Discussion thread: <a href=3D"https://news-web.php.net/php.i=
nternals/131249">https://news-web.php.net/php.internals/131249</a><br><br><=
div>Seifeddine</div><div>Cheers.</div></div>

--00000000000019251d0657408132--