Re: [PHP-DEV] int|float for sleep? sleep(0.1) => sleep 0.1 seconds

2024-03-11 Thread Gina P. Banyard
On Saturday, 9 March 2024 at 19:44, Jim Winstead wrote: > This may be a dumb question, but what's the process for determining whether > the next significant release of PHP will be a minor version or a major > version? If the adherence to semantic versioning is meant to be strict, it > doesn't

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 offse

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 ord

Re: [PHP-DEV] [RFC[ Property accessor hooks, take 2

2024-03-11 Thread Larry Garfield
On Mon, Mar 11, 2024, at 4:13 PM, Bruce Weirdan wrote: > On Tue, Feb 27, 2024 at 6:22 PM Bruce Weirdan wrote: >> >> Hi Larry and others >> >> On Fri, Feb 23, 2024 at 12:57 AM Larry Garfield >> wrote: >> > >> > >> > I've added an FAQ section explaining why the Python/JS approach wouldn't >> > re

Re: [PHP-DEV] [RFC[ Property accessor hooks, take 2

2024-03-11 Thread Larry Garfield
On Mon, Mar 11, 2024, at 4:58 PM, Michał Marcin Brzuchalski wrote: >> Hm, interesting. I'll have to check with Ilija on feasibility. My question >> is, how would it eliminate it? >> >> Suppose we hypothetically have a "ReflectionPropertyWithHooks" reflection >> object. It has those three ext

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 cu

Re: [PHP-DEV] [RFC[ Property accessor hooks, take 2

2024-03-11 Thread Michał Marcin Brzuchalski
pon., 11 mar 2024 o 15:30 Larry Garfield napisał(a): > On Mon, Mar 11, 2024, at 8:35 AM, Michał Marcin Brzuchalski wrote: > > Hi Larry, > > > > pt., 8 mar 2024 o 16:55 Larry Garfield > napisał(a): > >> Hi folks. Based on earlier discussions, we've made a number of changes > to the RFC that shou

Re: [PHP-DEV] [RFC[ Property accessor hooks, take 2

2024-03-11 Thread Bruce Weirdan
On Tue, Feb 27, 2024 at 6:22 PM Bruce Weirdan wrote: > > Hi Larry and others > > On Fri, Feb 23, 2024 at 12:57 AM Larry Garfield > wrote: > > > > > > I've added an FAQ section explaining why the Python/JS approach wouldn't > > really work. To be clear, Ilija and I spent 100+ hours doing resear

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 cu

Re: [PHP-DEV] [RFC[ Property accessor hooks, take 2

2024-03-11 Thread Larry Garfield
On Mon, Mar 11, 2024, at 8:35 AM, Michał Marcin Brzuchalski wrote: > Hi Larry, > > pt., 8 mar 2024 o 16:55 Larry Garfield napisał(a): >> Hi folks. Based on earlier discussions, we've made a number of changes to >> the RFC that should address some of the concerns people raised. We also had >> s

Re: [PHP-DEV] [RFC[ Property accessor hooks, take 2

2024-03-11 Thread Michał Marcin Brzuchalski
Hi Larry, pt., 8 mar 2024 o 16:55 Larry Garfield napisał(a): > Hi folks. Based on earlier discussions, we've made a number of changes to > the RFC that should address some of the concerns people raised. We also > had some very fruitful discussions off-list with several developers from > the Fo