Re: [PHP-DEV] [Discussion] Implicitly backed enums

2024-05-22 Thread Robert Landers
On Wed, May 22, 2024 at 4:13 AM Larry Garfield wrote: > > On Tue, May 21, 2024, at 6:47 PM, Bilge wrote: > > On 22/05/2024 00:31, Larry Garfield wrote: > >> I could see an argument for auto-populating the backing value off the enum > >> name if it's not specified, something like this: enum Option

Re: [PHP-DEV] PDO subclass names

2024-05-22 Thread Saki Takamachi
Hi all, If there are no other comments, I'll update this to master. (There seems to be a discussion going on about class names at the moment, but that goes against the Namespaces RFC and is therefore off-topic for this discussion. If you want to change this, you need to have a separate discussi

Re: [PHP-DEV] [Discussion] Implicitly backed enums

2024-05-22 Thread Stephen Reay
Sent from my iPhone > On 23 May 2024, at 03:58, Larry Garfield wrote: > > On Wed, May 22, 2024, at 2:29 AM, Stephen Reay wrote: On 22 May 2024, at 07:58, Larry Garfield wrote: >>> >>> given that the casing for an enum should be CamelCase (per PER-CS) >> >> Hi Larry; >> >> I find myse

Re: [PHP-DEV] [Discussion] Implicitly backed enums

2024-05-22 Thread Larry Garfield
On Wed, May 22, 2024, at 2:29 AM, Stephen Reay wrote: >> On 22 May 2024, at 07:58, Larry Garfield wrote: >> >> given that the casing for an enum should be CamelCase (per PER-CS) > > Hi Larry; > > I find myself yet again having to ask that php policies/discussions not > revolve around the idea th

[PHP-DEV] [RFC] [Under Discussion] New ext-dom features in PHP 8.4

2024-05-22 Thread Niels Dossche
Hi internals I'm starting discussion on my new RFC "New ext-dom features in PHP 8.4". RFC link: https://wiki.php.net/rfc/dom_additions_84 Kind regards Niels

Re: [PHP-DEV] [RFC] [Discussion] Add openStream() to XML{Reader,Writer}

2024-05-22 Thread Niels Dossche
On 21/05/2024 21:58, Claude Pache wrote: > > >> Le 21 mai 2024 à 21:00, Matthew Weier O'Phinney a >> écrit : >> >> (But again, I prefer that all those methods work on instances, as it was >> the case before PHP 8. They shouldn’t have been switched to >> static-but-broken-for-subclasses wi

Re: [PHP-DEV] [RFC] [Vote] #[\Deprecated] attribute

2024-05-22 Thread Gina P. Banyard
On Wednesday, 22 May 2024 at 08:22, Benjamin Außenhofer wrote: > The vote for the RFC #[\Deprecated] attribute is now open: > > https://wiki.php.net/rfc/deprecated_attribute > > Voting will close on Wednesday 5th June, 08:00 GMT. I have voted in favour of the RFC, I don't have any strong opinio

Re: [PHP-DEV] [RFC] [Vote] #[\Deprecated] attribute

2024-05-22 Thread Arvids Godjuks
On Wed, 22 May 2024 at 11:01, Pierre wrote: > Le 22/05/2024 à 09:33, Nicolas Grekas a écrit : > > Hi Benjamin, > > The vote for the RFC #[\Deprecated] attribute is now open: >> >> https://wiki.php.net/rfc/deprecated_attribute >> >> Voting will close on Wednesday 5th June, 08:00 GMT. >> > > I vote

Re: [PHP-DEV] [RFC] [Vote] #[\Deprecated] attribute

2024-05-22 Thread Benjamin Außenhofer
On Wed, May 22, 2024 at 9:33 AM Nicolas Grekas wrote: > Hi Benjamin, > > The vote for the RFC #[\Deprecated] attribute is now open: >> >> https://wiki.php.net/rfc/deprecated_attribute >> >> Voting will close on Wednesday 5th June, 08:00 GMT. >> > > I voted "no" because I think this is better addr

Re: [PHP-DEV] [RFC] [Vote] #[\Deprecated] attribute

2024-05-22 Thread Pierre
Le 22/05/2024 à 09:33, Nicolas Grekas a écrit : Hi Benjamin, The vote for the RFC #[\Deprecated] attribute is now open: https://wiki.php.net/rfc/deprecated_attribute Voting will close on Wednesday 5th June, 08:00 GMT. I voted "no" because I think this is better addressed in userl

Re: [PHP-DEV] [RFC] [Vote] #[\Deprecated] attribute

2024-05-22 Thread Marco Pivetta
Hey Benjamin, I voted against it: * I very much like having reflection methods that work on internal symbols relying on `#[\Deprecated]`. I can rely on these in my static analysis tooling, test suites, decorators, dependency injection tools, etc. * I am still disagree with abusing global runtime

Re: [PHP-DEV] [RFC] [Vote] #[\Deprecated] attribute

2024-05-22 Thread Nicolas Grekas
Hi Benjamin, The vote for the RFC #[\Deprecated] attribute is now open: > > https://wiki.php.net/rfc/deprecated_attribute > > Voting will close on Wednesday 5th June, 08:00 GMT. > I voted "no" because I think this is better addressed in userland, as this gives more flexibility. I would better hav

[PHP-DEV] [RFC] [Vote] #[\Deprecated] attribute

2024-05-22 Thread Benjamin Außenhofer
The vote for the RFC #[\Deprecated] attribute is now open: https://wiki.php.net/rfc/deprecated_attribute Voting will close on Wednesday 5th June, 08:00 GMT.