[PHP-DEV] PHP 8.0.29 Released

2023-06-08 Thread Gabriel Caruso
The PHP development team announces the immediate availability of PHP 8.0.29. This is a security fix release. All PHP 8.0 users are advised to upgrade to this version. For source downloads of PHP 8.0.29 please visit our downloads page. Windows binaries can be found on the PHP for Windows site. The

Re: [PHP-DEV] [RFC] [VOTE] Define proper semantics for range() function

2023-06-08 Thread G. P. B.
On Thu, 8 Jun 2023 at 07:35, Marc wrote: > sorry for speaking up so late but I think the following change is a > mistake and unexpected: > > > Calls to range() that have integer boundaries but a float step that > is compatible as an integer will now return an array of integers instead > of an ar

Re: [PHP-DEV] [RFC] [Discussion] Clone with

2023-06-08 Thread Nicolas Grekas
> On Tue, May 30, 2023, at 10:04 PM, Alexandru Pătrănescu wrote: > > > On Tue, May 30, 2023, 19:39 Larry Garfield > > wrote: > > > > > >> On Mon, May 29, 2023, at 11:22 PM, Máté Kocsis wrote: > > >> > To be honest, the current behavior seemed like the natural choice > for > > >> > me, and I didn't

[PHP-DEV] PHP 8.1.20 Released!

2023-06-08 Thread Ben Ramsey
The PHP development team announces the immediate availability of PHP 8.1.20. This is a security release. All PHP 8.1 users are encouraged to upgrade to this version. For source downloads of PHP 8.1.20 please visit our downloads page. Windows binaries can be found on the PHP for Windows site. The

Re: [PHP-DEV] [RFC] [VOTE] Define proper semantics for range() function

2023-06-08 Thread Marc
On 08.06.23 13:16, G. P. B. wrote: On Thu, 8 Jun 2023 at 07:35, Marc wrote: sorry for speaking up so late but I think the following change is a mistake and unexpected: > Calls to range() that have integer boundaries but a float step that is compatible as an integer will now return an arra

[PHP-DEV] PHP 8.2.7 Released!

2023-06-08 Thread Pierrick Charron
The PHP development team announces the immediate availability of PHP 8.2.7. This is a security release. All PHP 8.2 users are encouraged to upgrade to this version. For source downloads of PHP 8.2.7 please visit our downloads page. Windows binaries can be found on the PHP for Windows site. The li

[PHP-DEV] PHP 8.3.0alpha1 is available for testing

2023-06-08 Thread Jakub Zelenka
PHP 8.3.0alpha1 has just been released and can be downloaded from: https://downloads.php.net/~jakub Or use the git tag: php-8.3.0alpha1 Windows binaries are available at: https://windows.php.net/qa/ This is the first official release of the PHP 8.3 serial and includes an incredible amount of work

Re: [PHP-DEV] [RFC] [Discussion] Clone with

2023-06-08 Thread Larry Garfield
On Thu, Jun 8, 2023, at 6:15 PM, Nicolas Grekas wrote: >> On Tue, May 30, 2023, at 10:04 PM, Alexandru Pătrănescu wrote: >> > > On Tue, May 30, 2023, 19:39 Larry Garfield >> > wrote: >> > > >> > >> On Mon, May 29, 2023, at 11:22 PM, Máté Kocsis wrote: >> > >> > To be honest, the current behavior s

Re: [PHP-DEV] [RFC] [Discussion] Clone with

2023-06-08 Thread Stephen Reay
Sent from my iPhone > On 9 Jun 2023, at 02:33, Larry Garfield wrote: > > On Thu, Jun 8, 2023, at 6:15 PM, Nicolas Grekas wrote: >>> On Tue, May 30, 2023, at 10:04 PM, Alexandru Pătrănescu wrote: > On Tue, May 30, 2023, 19:39 Larry Garfield wrote: > >>> On Mon, May 29, 2023

Re: [PHP-DEV] [RFC] [Discussion] Clone with

2023-06-08 Thread Larry Garfield
On Thu, Jun 8, 2023, at 5:39 PM, Stephen Reay wrote: > Is there a specific reason `clone with (foo: $bar);` can’t simply pass > the arguments given to with(), to the __clone() magic method? > > It leaves the developer free to use the passed argument(s) or deep > clone existing properties or a mi

Re: [PHP-DEV] [RFC] [Discussion] Clone with

2023-06-08 Thread Stephen Reay
> On 9 Jun 2023, at 07:11, Larry Garfield wrote: > > On Thu, Jun 8, 2023, at 5:39 PM, Stephen Reay wrote: > >> Is there a specific reason `clone with (foo: $bar);` can’t simply pass >> the arguments given to with(), to the __clone() magic method? >> >> It leaves the developer free to use th

Re: [PHP-DEV] RFC [Discussion]: Closure self-reference

2023-06-08 Thread Stephen Reay
> On 4 Jun 2023, at 02:11, Dan Ackroyd wrote: > > Hi internals, > > I'm now opening the discussion for the Closure self-reference RFC: > https://wiki.php.net/rfc/closure_self_reference > > This was previously discussed as a draft here: > https://externals.io/message/112216#112216 > > Thank-