Re: [PHP-DEV] [RFC] [Discussion] Final anonymous classes

2023-12-01 Thread Daniil Gentili
Hi, Pick an approach and put that up for a vote, Picked the basic option of just adding final anonymous classes & edited the RFC accordingly. Thanks for the feedback! Regards, Daniil Gentili.

Re: [PHP-DEV] [RFC] [Discussion] Final anonymous classes

2023-12-01 Thread Larry Garfield
On Fri, Dec 1, 2023, at 6:01 PM, Daniil Gentili wrote: > Hi all, > > Heads up, I'll move this RFC > (https://wiki.php.net/rfc/final_anonymous_classes) to voting status > tomorrow! > > Regards, > > Daniil Gentili. The way the vote is structured there is highly confusing. Three separate primary

Re: [PHP-DEV] [RFC] [Discussion] Final anonymous classes

2023-12-01 Thread Daniil Gentili
Hi all, Heads up, I'll move this RFC (https://wiki.php.net/rfc/final_anonymous_classes) to voting status tomorrow! Regards, Daniil Gentili. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] [Discussion] Change how JIT is disabled by default

2023-12-01 Thread Daniil Gentili
Hi all, Heads up, I'll move this RFC (https://wiki.php.net/rfc/jit_config_defaults) to voting status tomorrow! Regards, Daniil Gentili. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

Re: [PHP-DEV] Adding a donate link to the PHP website

2023-12-01 Thread Larry Garfield
On Fri, Dec 1, 2023, at 8:27 AM, Andreas Heigl wrote: > Hey Ben > > On 01.12.23 01:04, Ben Ramsey wrote: >>> On Nov 30, 2023, at 02:45, Andreas Heigl wrote: >>> >>> On 30.11.23 09:39, James Titcumb wrote: On Thu, 30 Nov 2023 at 07:28, Andreas Heigl >>> > wrote: >>> [

Re: [PHP-DEV] Adding a donate link to the PHP website

2023-12-01 Thread Nicolas Grekas
Hi Ben > On Nov 30, 2023, at 02:45, Andreas Heigl wrote: > > > > On 30.11.23 09:39, James Titcumb wrote: > >> On Thu, 30 Nov 2023 at 07:28, Andreas Heigl andr...@heigl.org>> wrote: > > [...snip...] > >>I suppose that is actually nothing that an RFC can do as I imagine > that > >>everyone

Re: [PHP-DEV] What is the prevailing sentiment about extract() and compact() ?

2023-12-01 Thread Marco Pivetta
Hey Juliette, On Wed, 29 Nov 2023 at 03:00, Juliette Reinders Folmer < php-internals_nos...@adviesenzo.nl> wrote: > > For now, I'm just wondering how people feel about these functions. > >From my PoV: burn them with fire. The translation of `compact()` is **trivial** with a CS tool (like the one

Re: [PHP-DEV] [PDO] 2 phase commit

2023-12-01 Thread Eugene Sidelnyk
One thing I'd like to point out is regarding second phase (commit phase) It's important to understand that once this phase has started, there's no way back. After code execution is behind commit point, the transactions MUST commit no matter what. Data must be committed regardless of network issues

Re: [PHP-DEV] [RFC] [VOTE] Change the edge case of round()

2023-12-01 Thread Jakub Zelenka
On Fri, Nov 24, 2023 at 12:31 AM Saki Takamachi wrote: > Hi internals, > > I started voting on my RFC "Change the edge case of round()”. > > Voting will end December 8th, 00:00 GMT. > > https://wiki.php.net/rfc/change_the_edge_case_of_round > > I have been thinking about this one for a bit and I

Re: [PHP-DEV] Inconsistency mbstring functions

2023-12-01 Thread youkidearitai
2023年12月1日(金) 18:48 G. P. B. : > > On Fri, 1 Dec 2023 at 09:31, Stefan Schiller via internals < > internals@lists.php.net> wrote: > > > Hi, > > > > I would like to raise attention to an inconsistency in how mbstring > > functions handle invalid multibyte sequences. When, for example, > > mb_strpos

Re: [PHP-DEV] Inconsistency mbstring functions

2023-12-01 Thread G. P. B.
On Fri, 1 Dec 2023 at 09:31, Stefan Schiller via internals < internals@lists.php.net> wrote: > Hi, > > I would like to raise attention to an inconsistency in how mbstring > functions handle invalid multibyte sequences. When, for example, > mb_strpos encounters a UTF-8 leading byte, it tries to par

Re: [PHP-DEV] [RFC] [VOTE] Add 4 new rounding modes to round() function

2023-12-01 Thread G. P. B.
On Fri, 1 Dec 2023 at 09:35, Jakub Zelenka wrote: > On Fri, Dec 1, 2023 at 9:28 AM G. P. B. wrote: > >> On Thu, 30 Nov 2023 at 23:45, Jakub Zelenka wrote: >> >>> Hi, >>> >>> On Thu, Nov 30, 2023 at 10:13 PM Jorg Sowa wrote: >>> Creating aliases for Intl extension constants has been a

Re: [PHP-DEV] [RFC] [VOTE] Add 4 new rounding modes to round() function

2023-12-01 Thread Jakub Zelenka
On Fri, Dec 1, 2023 at 9:28 AM G. P. B. wrote: > On Thu, 30 Nov 2023 at 23:45, Jakub Zelenka wrote: > >> Hi, >> >> On Thu, Nov 30, 2023 at 10:13 PM Jorg Sowa wrote: >> >>> >>> Creating aliases for Intl extension constants has been accepted with 10 >>> votes yes and 6 votes no. >>> >>> >> This m

[PHP-DEV] Inconsistency mbstring functions

2023-12-01 Thread Stefan Schiller via internals
Hi, I would like to raise attention to an inconsistency in how mbstring functions handle invalid multibyte sequences. When, for example, mb_strpos encounters a UTF-8 leading byte, it tries to parse the following continuation bytes until the full byte sequence is read. If an invalid byte is encount

Re: [PHP-DEV] [RFC] [VOTE] Add 4 new rounding modes to round() function

2023-12-01 Thread G. P. B.
On Thu, 30 Nov 2023 at 23:45, Jakub Zelenka wrote: > Hi, > > On Thu, Nov 30, 2023 at 10:13 PM Jorg Sowa wrote: > >> >> Creating aliases for Intl extension constants has been accepted with 10 >> votes yes and 6 votes no. >> >> > This means that it is declined as you need 2/3 of votes to pass... >

Re: [PHP-DEV] Adding a donate link to the PHP website

2023-12-01 Thread Andreas Heigl
Hey Ben On 01.12.23 01:04, Ben Ramsey wrote: On Nov 30, 2023, at 02:45, Andreas Heigl wrote: On 30.11.23 09:39, James Titcumb wrote: On Thu, 30 Nov 2023 at 07:28, Andreas Heigl mailto:andr...@heigl.org>> wrote: [...snip...] I suppose that is actually nothing that an RFC can do as I imag