Re: [PHP-DEV] [Pre-RFC] Improve language coherence for the behaviour of offsets and containers

2024-03-17 Thread Rowan Tommins [IMSoP]
On 11/03/2024 12:52, Gina P. Banyard wrote: I would like to get some initial feedback on an RFC I've been working on for the last 5–6 months. The RFC attempts to explain, and most importantly, improve the semantics around $container[$offset] as PHP is currently widely inconsistent. [...]

Re: [PHP-DEV] [Pre-RFC] Improve language coherence for the behaviour of offsets and containers

2024-03-12 Thread Rob Landers
On Tue, Mar 12, 2024, at 02:36, Gina P. Banyard wrote: > On Monday, 11 March 2024 at 16:11, Larry Garfield > wrote: > > > > > Woof. That's my kind of RFC. :-) The extensive background helps a lot, > > thank you. > > > > I am generally in favor of this, and have wanted more fine-grained >

Re: [PHP-DEV] [Pre-RFC] Improve language coherence for the behaviour of offsets and containers

2024-03-11 Thread Gina P. Banyard
On Monday, 11 March 2024 at 17:26, Rob Landers wrote: > I’m still reading the RFC, but here: > https://github.com/Girgias/php-rfcs/blob/master/container-offset-behaviour.md#objects > > You list “appending” twice. Indeed, fixed. I have also fixed another small mistake in the RFC that used

Re: [PHP-DEV] [Pre-RFC] Improve language coherence for the behaviour of offsets and containers

2024-03-11 Thread Gina P. Banyard
On Monday, 11 March 2024 at 16:11, Larry Garfield wrote: > > Woof. That's my kind of RFC. :-) The extensive background helps a lot, thank > you. > > I am generally in favor of this, and have wanted more fine-grained > ArrayAccess interfaces for a long time. > > Thoughts in no particular

Re: [PHP-DEV] [Pre-RFC] Improve language coherence for the behaviour of offsets and containers

2024-03-11 Thread Rob Landers
On Mon, Mar 11, 2024, at 13:52, Gina P. Banyard wrote: > Hello internals, > > I would like to get some initial feedback on an RFC I've been working on for > the last 5–6 months. > The RFC attempts to explain, and most importantly, improve the semantics > around $container[$offset] as PHP is

Re: [PHP-DEV] [Pre-RFC] Improve language coherence for the behaviour of offsets and containers

2024-03-11 Thread Larry Garfield
On Mon, Mar 11, 2024, at 12:52 PM, Gina P. Banyard wrote: > Hello internals, > > I would like to get some initial feedback on an RFC I've been working > on for the last 5–6 months. > The RFC attempts to explain, and most importantly, improve the > semantics around $container[$offset] as PHP is