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

2023-11-30 Thread Jim Winstead
On Thu, Nov 30, 2023, at 12:39 AM, James Titcumb wrote: > On Thu, 30 Nov 2023 at 07:28, Andreas Heigl wrote: > > > > > I would even support an RFC that goes one step beyond that and not only > > officially recognize the PHPFoundation as a sponsoring organization but > > also transfers the Copyrig

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

2023-11-30 Thread Ben Ramsey
> 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: > [...snip...] >>I suppose that is actually nothing that an RFC can do as I imagine that >>everyone from the PH

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

2023-11-30 Thread Jakub Zelenka
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... Cheers Jakub

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

2023-11-30 Thread Jorg Sowa
Hello everyone, The poll has been closed. The RFC has been accepted with 19 votes yes and 0 votes no. Creating aliases for Intl extension constants has been accepted with 10 votes yes and 6 votes no. Thank you all for participating. Kind regards, Jorg

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

2023-11-30 Thread Deleu
On Thu, Nov 30, 2023 at 3:59 PM Bruce Weirdan wrote: > On Thu, Nov 30, 2023 at 7:22 PM Larry Garfield > wrote: > > > > > I have not heard of this functionality before, so I don't know how common > > it is. If it's only lightly supported and in different ways, perhaps > this > > is a use case fo

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

2023-11-30 Thread Saki Takamachi
Hi Larry, > I have not heard of this functionality before, so I don't know how common it > is. If it's only lightly supported and in different ways, perhaps this is a > use case for the new per-DB subclasses? Many DBs have this functionality, so I was thinking of implementing it in the same w

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

2023-11-30 Thread Eugene Sidelnyk
Hi there, This functionality is common for data intensive applications that leverage distributed systems for coping with load. In other words, having it at core level is desirable for enterprise-level systems. Ordinary web-sites are unlikely to use this feature. Though, I'd highly appreciate it

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

2023-11-30 Thread Bruce Weirdan
On Thu, Nov 30, 2023 at 7:22 PM Larry Garfield wrote: > > I have not heard of this functionality before, so I don't know how common > it is. If it's only lightly supported and in different ways, perhaps this > is a use case for the new per-DB subclasses? > Postgre (https://www.postgresql.org/do

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

2023-11-30 Thread Larry Garfield
On Thu, Nov 30, 2023, at 2:03 PM, Saki Takamachi wrote: > Hi Jeff, > >> Would the implementation use the underlying RDBMS two-phase commit? Or would >> the proposal be to try to build something at the PDO layer to mimic >> two-phase commits? The former seems good, the latter, not so much. > > Whe

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

2023-11-30 Thread Saki Takamachi
Hi Jeff, > Would the implementation use the underlying RDBMS two-phase commit? Or would > the proposal be to try to build something at the PDO layer to mimic two-phase > commits? The former seems good, the latter, not so much. When implementing this, if each DB driver's API has a two-phase comm

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

2023-11-30 Thread Jeffrey Dafoe
> Hi internals, > > For the past few days I've been thinking about whether to make a suggestion > to add two-phase commit functionality to pdo. > > I would like to hear everyone's opinions. Hello, Would the implementation use the underlying RDBMS two-phase commit? Or would the proposal be to t

Re: [PHP-DEV] Deprecate declare(encoding='...') + zend.multibyte + zend.script_encoding + zend.detect_unicode ?

2023-11-30 Thread youkidearitai
Hi, > > PSR also says that code should use spaces instead of tabs. Should PHP > stop parsing code that uses tabs instead of spaces? > > I don't think that PSR has any relevance to this conversation because > it is _too_ opinionated. Sometimes that opinion helps, and sometimes > it gets in the way

Re: [PHP-DEV] Deprecate declare(encoding='...') + zend.multibyte + zend.script_encoding + zend.detect_unicode ?

2023-11-30 Thread Robert Landers
On Thu, Nov 30, 2023 at 1:39 AM youkidearitai wrote: > > > Many languages like Rust only support UTF-8 > > (https://doc.rust-lang.org/reference/input-format.html), and I don't > > think any new PHP developers will expect PHP to work with non-UTF8 > > encodings in the first place. > > Hi, > > PSR-1

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

2023-11-30 Thread Aleksander Machniak
On 29.11.2023 21:40, Larry Garfield wrote: voting is open to over 1000 people, all decisions are made by voting of whichever 20 of those people show up at any given time I'd like to jump in here. I see a decline in number of votes. Well, maybe it's just uncontentious topic of recent RFCs, may

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

2023-11-30 Thread Andreas Heigl
On 30.11.23 09:39, James Titcumb wrote: On Thu, 30 Nov 2023 at 07:28, Andreas Heigl > wrote: [...snip...] I suppose that is actually nothing that an RFC can do as I imagine that everyone from the PHP Group needs to support this and even an RFC wouldn't

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

2023-11-30 Thread James Titcumb
On Thu, 30 Nov 2023 at 07:28, Andreas Heigl wrote: > > I would even support an RFC that goes one step beyond that and not only > officially recognize the PHPFoundation as a sponsoring organization but > also transfers the Copyright on PHP from the ominous "PHP Group" to the > PHP Foundation. > I

Re: [PHP-DEV] [RFC] [VOTE] Adding bcround, bcfloor and bcceil to BCMath

2023-11-30 Thread Saki Takamachi
Hi internals, > I started voting on my RFC "Adding bcround, bcfloor and bcceil to BCMath”. > > Voting will end November 30th, 00:00 GMT. Voting has closed, and the addition of bcround, bcfloor, and bcceil to BCMath was unanimously approved (13:0). I will start creating PRs to implement these.