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

[email protected] (Tim Düsterhus) Fri, 31 Jul 2026 18:15:35 +0200
Newsgroups php.internals
Message-ID <[email protected]>
Hi

On 2026-07-30 18:55, Seifeddine Gmati wrote:
> For what it's worth, I agree with your wider point: a vote that closes
> at the freeze boundary leaves no room to react if implementation or
> wider testing turns something up. Landing early in the next cycle is
> the better home for a type-system change in any case.

I also agree here: This very much feels like a proposal that should land 
early in the cycle, particularly due to the impact on existing 
extensions and the ecosystem, which might have already started preparing 
the adjustments for PHP 8.6.

I have just given the RFC another read and just have a very minor 
comment regarding the vote:

The “Matching semantics for literal scalar types?” vote has no 
explicitly stated tie-breaker. The RFC states “The author recommends 
strict matching” which *could* be considered a tie-breaker in favor of 
“strict matching”. But since we now have some time, you could as well 
spell that out explicitly.

No further comments to the contents of the actual proposal. The cleanup 
of the “accepted literal syntax“ section made the RFC much easier to 
follow.

Best regards
Tim Düsterhus