Re: [PHP-DEV] [RFC][Discussion] PDO driver specific parsers

2024-05-09 Thread Matteo Beccati
Hi, Il 03/05/2024 11:14, Matteo Beccati ha scritto: Hi internals! I've updated once again the RFC and implemented most of the 3 major dialects (mysql, pgsql, sqlite) in the drivers. https://wiki.php.net/rfc/pdo_driver_specific_parsers https://github.com/php/php-src/pull/14035 I've tried to

Re: [PHP-DEV] [RFC] Transform exit() from a language construct into a standard function

2024-05-09 Thread Niels Dossche
On 08/05/2024 15:40, Gina P. Banyard wrote: > Hello Internals, > > I would like to formally propose my idea for exit() as a function brought up > to the list on 2024-02-24 [1] with the following RFC: > https://wiki.php.net/rfc/exit-as-function > > There have been some slight tweaks to the implem

Re: [PHP-DEV] [RFC] Transform exit() from a language construct into a standard function

2024-05-09 Thread Flávio Heleno
On Thu, May 9, 2024 at 7:51 AM Niels Dossche wrote: > On 08/05/2024 15:40, Gina P. Banyard wrote: > > Hello Internals, > > > > I would like to formally propose my idea for exit() as a function > brought up to the list on 2024-02-24 [1] with the following RFC: > > https://wiki.php.net/rfc/exit-as-

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

2024-05-09 Thread Andreas Hennings
On Tue, 13 Jun 2023 at 22:13, Larry Garfield wrote: > > On Tue, Jun 13, 2023, at 3:51 PM, Máté Kocsis wrote: > > Hi Larry, > > > > In this case, if the `with` happens first, then the new address object is > >> cloned needlessly, but that *probably* doesn't hurt anything. But $newAddr > >> !== $p3

Re: [PHP-DEV] [RFC] Transform exit() from a language construct into a standard function

2024-05-09 Thread Derick Rethans
On Thu, 9 May 2024, Flávio Heleno wrote: > On Thu, May 9, 2024 at 7:51 AM Niels Dossche > wrote: > > > On 08/05/2024 15:40, Gina P. Banyard wrote: > > > Hello Internals, > > > > > > I would like to formally propose my idea for exit() as a function > > > brought up to the list on 2024-02-24 [1]

Re: [PHP-DEV] [RFC][Discussion] PDO driver specific parsers

2024-05-09 Thread Derick Rethans
On Thu, 9 May 2024, Matteo Beccati wrote: > Il 03/05/2024 11:14, Matteo Beccati ha scritto: > > > > I've updated once again the RFC and implemented most of the 3 major > > dialects (mysql, pgsql, sqlite) in the drivers. > > > > https://wiki.php.net/rfc/pdo_driver_specific_parsers > > > > https

Re: [PHP-DEV] [RFC] [vote] Support object type in BCMath

2024-05-09 Thread Derick Rethans
On Tue, 7 May 2024, Gina P. Banyard wrote: > On Tuesday, 7 May 2024 at 15:46, Saki Takamachi wrote: > > > On Tue, 7 May 2024, Gina P. Banyard wrote: > > > > > - Are the existing BCMath function going to be adapted to handle > > > the new Number object or not? > > > > No, that is not considered

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

2024-05-09 Thread Larry Garfield
On Thu, May 9, 2024, at 1:10 PM, Andreas Hennings wrote: >> Where all properties are readonly, and if an object those are *also* >> readonly, and all are assigned in the constructor... >> >> Yeah, that ideal case is kinda narrow, and likely will remain so for a long >> while yet. >> >> Whichever

Re: [PHP-DEV] [RFC] Transform exit() from a language construct into a standard function

2024-05-09 Thread Jorg Sowa
> I don't think there are any other "functions" like this. What about list(), isset(), print(), echo(), require(), include(), unset(), empty()? We use them the same way as functions, but those are not real functions. Kind regards, Jorg

[PHP-DEV] PHP 8.2.19 Released!

2024-05-09 Thread Sergey Panteleev
The PHP development team announces the immediate availability of PHP 8.2.19. This is a bugfix release. All PHP 8.2 users are encouraged to upgrade to this version. For source downloads of PHP 8.2.19 please visit our downloads page. Windows binaries can be found on the PHP for Windows site. The li

Re: [PHP-DEV] [RFC] Transform exit() from a language construct into a standard function

2024-05-09 Thread Larry Garfield
On Wed, May 8, 2024, at 1:40 PM, Gina P. Banyard wrote: > Hello Internals, > > I would like to formally propose my idea for exit() as a function > brought up to the list on 2024-02-24 [1] with the following RFC: > https://wiki.php.net/rfc/exit-as-function > > There have been some slight tweaks to

[PHP-DEV] PHP 8.3.7 Released

2024-05-09 Thread Jakub Zelenka
The PHP development team announces the immediate availability of PHP 8.3.7. This is a bugfix release. All PHP 8.3 users are encouraged to upgrade to this version. For source downloads of PHP 8.3.7 please visit our downloads page: https://www.php.net/downloads Windows source and binaries can be fo

Re: [PHP-DEV] [RFC] Transform exit() from a language construct into a standard function

2024-05-09 Thread Saki Takamachi
Hi Gina, > Hello Internals, > > I would like to formally propose my idea for exit() as a function brought up > to the list on 2024-02-24 [1] with the following RFC: > https://wiki.php.net/rfc/exit-as-function > > There have been some slight tweaks to the implementation, namely that the > trans

Re: [PHP-DEV] [RFC] [Discussion] new MyClass()->method() without parentheses

2024-05-09 Thread Valentin Udaltsov
@Lynn, @Alex, thank you for your comments. I have improved the "without constructor arguments' parentheses" part of the introduction section and started the voting. вт, 23 апр. 2024 г. в 16:55, Alexandru Pătrănescu : > > On Tue, Apr 23, 2024 at 3:31 PM Robert Landers > wrote: > >> On Tue, Apr 23

[PHP-DEV] [RFC][Vote] new MyClass()->method() without parentheses

2024-05-09 Thread Valentin Udaltsov
The vote for the RFC that allows to omit parentheses around the `new` expression is now open: https://wiki.php.net/rfc/new_without_parentheses Voting will close on Friday 24 May, 00:00 GMT. -- Best regards, Valentin

Re: [PHP-DEV] [RFC] [Discussion] new MyClass()->method() without parentheses

2024-05-09 Thread Larry Garfield
On Thu, May 9, 2024, at 3:26 PM, Valentin Udaltsov wrote: > @Lynn, @Alex, thank you for your comments. I have improved the "without > constructor arguments' parentheses" part of the introduction section > and started the voting. I believe standard procedure expects you to post a new message to t

Re: [PHP-DEV] [RFC] [Discussion] new MyClass()->method() without parentheses

2024-05-09 Thread Valentin Udaltsov
Yes, I've done that, see https://externals.io/message/123293. чт, 9 мая 2024 г. в 20:11, Larry Garfield : > On Thu, May 9, 2024, at 3:26 PM, Valentin Udaltsov wrote: > > @Lynn, @Alex, thank you for your comments. I have improved the "without > > constructor arguments' parentheses" part of the int

Re: [PHP-DEV] [RFC] [Discussion] new MyClass()->method() without parentheses

2024-05-09 Thread Larry Garfield
On Thu, May 9, 2024, at 5:12 PM, Valentin Udaltsov wrote: > Yes, I've done that, see https://externals.io/message/123293. D'Oh. At almost the exact same time I replied. :-) Thanks. (Also, please do not top post.) --Larry Garfield