Re: [PHP-DEV] Release Managers for PHP 8.4

2024-03-09 Thread Matteo Beccati
Hi, Il 05/03/2024 16:37, Jakub Zelenka ha scritto: Please put your name forward here if you wish to be considered a candidate. An initial TODO page has been added to the wiki and contains provisional dates for GA and pre-releases [2]. I'd like to also submit my name for the 8.4 RM election.

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

2024-03-09 Thread Jakub Zelenka
On Fri, Mar 8, 2024 at 6:30 PM Jim Winstead wrote: > On Fri, Mar 8, 2024, at 12:12 AM, Hans Henrik Bergan wrote: > > On Tue, 5 Mar 2024 at 20:17, Larry Garfield > wrote: > >> > >> A 3 way up-down vote doesn't make sense. What happens if none of the 3 > options reaches 66%? > >> > >> The viable

Re: [PHP-DEV] Idea: Implicit inheriting function argument & return type-hint

2024-03-09 Thread Christian Schneider
Am 09.03.2024 um 08:18 schrieb Marc : > As the pseudo type `mixed` exists since PHP 8.0, which is already > out-of-date, I have the feeling it would be better to force people to > explicitly write `mixed` to widen the type of an overwritten function and let > "no type" inherit the argument and r

Re: [PHP-DEV] [RFC] [Discussion] Rounding Integers as int

2024-03-09 Thread Larry Garfield
On Sat, Mar 9, 2024, at 1:01 AM, Marc wrote: > Hi internals, > > Just want to resent this note about the updated RFC as there where no > comments last time and I'm unsure if this was due to mailing list issues. > > I now have updated the RFC to allow to opt-in to new behavior on PHP 8.4 > and be

Re: [PHP-DEV] [RFC] [Discussion] Rounding Integers as int

2024-03-09 Thread Jim Winstead
On Sat, Mar 9, 2024, at 8:00 AM, Larry Garfield wrote: ]> If there's some math reason that we cannot have those functions return > int (someone mentioned there was, but I don't really understand it and > the RFC does not explain it at all), then we should at least keep > consistency in the retur

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

2024-03-09 Thread Jim Winstead
On Sat, Mar 9, 2024, at 5:07 AM, Jakub Zelenka wrote: > On Fri, Mar 8, 2024 at 6:30 PM Jim Winstead wrote: >> On Fri, Mar 8, 2024, at 12:12 AM, Hans Henrik Bergan wrote: >> > On Tue, 5 Mar 2024 at 20:17, Larry Garfield wrote: >> >> >> >> A 3 way up-down vote doesn't make sense. What happens if n

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

2024-03-09 Thread Bruce Weirdan
Hi Jim On Sat, Mar 9, 2024, 20:46 Jim Winstead wrote: > If the adherence to semantic versioning is meant to be strict, PHP doesn't follow semver and never had.

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

2024-03-09 Thread Jim Winstead
On Sat, Mar 9, 2024, at 1:04 PM, Bruce Weirdan wrote: > Hi Jim > > On Sat, Mar 9, 2024, 20:46 Jim Winstead wrote: >> If the adherence to semantic versioning is meant to be strict, > > PHP doesn't follow semver and never had. Okay, strike that and replace it with "adherence to the documented rel

Re: [PHP-DEV] Idea: Implicit inheriting function argument & return type-hint

2024-03-09 Thread Stephen Reay
> On 9 Mar 2024, at 21:27, Christian Schneider wrote: > Am 09.03.2024 um 08:18 schrieb Marc : >> As the pseudo type `mixed` exists since PHP 8.0, which is already >> out-of-date, I have the feeling it would be better to force people to >> explicitly write `mixed` to widen the type of an over

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

2024-03-09 Thread Bruce Weirdan
On Sun, Mar 10, 2024 at 2:38 AM Jim Winstead wrote: > > On Sat, Mar 9, 2024, at 1:04 PM, Bruce Weirdan wrote: > > On Sat, Mar 9, 2024, 20:46 Jim Winstead wrote: > >> If the adherence to semantic versioning is meant to be strict, > > > > PHP doesn't follow semver and never had. > > Okay, strike th