On Sunday, 7 July 2024 at 22:01, Nicolas Grekas <nicolas.grekas+...@gmail.com> 
wrote:

> I don't see any mention of Stringable objects in the RFC. Can you please 
> describe how they behave when used as string indexes, and if you're proposing 
> any changes for them

Hello Nicolas,

All objects behave the same for string offset, i.e. they are invalid and will 
throw an Error.
This is described in the "Invalid offsets" subsection of the "Strings" section. 
[1]
And I am not proposing any changes to them.

Best regards,
Gina P. Banyard

[1] 
https://github.com/Girgias/php-rfcs/blob/master/container-offset-behaviour.md#invalid-offsets-1

>>

Reply via email to