Re: [PHP-DEV] [RFC] [Discussion] Add WHATWG compliant URL parsing API

2024-08-30 Thread Larry Garfield
On Mon, Aug 26, 2024, at 2:40 AM, Máté Kocsis wrote: > Hi Ignace, Niels, > > Sorry for being silent for so long, I was working hard on the > implementation besides some summer activities :) I can say that I had > really good progress in the last month and now I think (hope) that I > managed to ad

Re: [PHP-DEV] What to do with ext/snmp?

2024-08-30 Thread Christoph M. Becker
On 30.08.2024 at 19:05, Jim Winstead wrote: > Perhaps if the effort from the PHP Foundation to build a next-generation PECL > bears fruit, an even harder look can be taken at migrating out even more of > the extensions still living in the php-src tree. With some robust CI, care > could be made

Re: [PHP-DEV] What to do with ext/snmp?

2024-08-30 Thread Jim Winstead
On Fri, Aug 30, 2024, at 9:54 AM, Calvin Buckley wrote: > On Aug 29, 2024, at 2:49 PM, Christoph M. Becker wrote: >> >> Hi all, >> >> it seems to me that we're pulling through ext/snmp without having any >> real expert of the protocol, let alone of the implementation. The >> extension has no

Re: [PHP-DEV] What to do with ext/snmp?

2024-08-30 Thread Calvin Buckley
On Aug 29, 2024, at 2:49 PM, Christoph M. Becker wrote: > > Hi all, > > it seems to me that we're pulling through ext/snmp without having any > real expert of the protocol, let alone of the implementation. The > extension has no code owner, and according to EXTENSIONS, it has no > primary maint

Re: [PHP-DEV] json_encode() and Generators / RFC Karma

2024-08-30 Thread Claude Pache
> Le 30 août 2024 à 09:36, Philip Hofstetter a > écrit : > > Hello, > > In the aftermath of an internal refactoring of an internal code-base to turn > something eager into something more lazy using Generators, it occurred to me > that while PHP refuses to serialize() a Generator, accidenta

Re: [PHP-DEV] [Discussion] Implementing interfaces via traits

2024-08-30 Thread Larry Garfield
On Fri, Aug 30, 2024, at 1:09 AM, Michał Marcin Brzuchalski wrote: > Hi Brent, > > wt., 27 sie 2024 o 09:28 Brent Roose napisał(a): >> Good morning internals >> >> >> I’d like to test the waters about an RFC idea: allowing traits to implement >> interfaces, and consequently a class that uses su

Re: [PHP-DEV] PHP 8.3.11 Released

2024-08-30 Thread Christoph M. Becker
On 30.08.2024 at 00:46, Jakub Zelenka wrote: > The PHP development team announces the immediate availability of PHP > 8.3.11. This is a bugfix release. > > All PHP 8.3 users are encouraged to upgrade to this version. > > For source downloads of PHP 8.3.11 please visit our downloads page: > https:/

Re: [PHP-DEV] json_encode() and Generators / RFC Karma

2024-08-30 Thread Ilija Tovilo
On Fri, Aug 30, 2024 at 12:19 PM Philip Hofstetter wrote: > > Username is pilif RFC karma was granted. Good luck with the RFC!

Re: [PHP-DEV] json_encode() and Generators / RFC Karma

2024-08-30 Thread Philip Hofstetter
Hi John, On Aug 30, 2024 at 09:42:05, John Coggeshall wrote: > This seems entirely reasonable and I would welcome an RFC for it (unless > someone has a better idea as to how to handle this case). > > The other options I considered were to either materialize the Generator, but given that they c

Re: [PHP-DEV] json_encode() and Generators / RFC Karma

2024-08-30 Thread Philip Hofstetter
Hi Ilija, On Aug 30, 2024 at 09:49:14, Ilija Tovilo wrote: > > To grant you RFC karma, I need to know your wiki.php.net username. > Username is pilif Thank you Philip Hofstetter

Re: [PHP-DEV] Re: [RFC] Default expression

2024-08-30 Thread Rowan Tommins [IMSoP]
On Thu, 29 Aug 2024, at 22:52, Bilge wrote: >> New RFC just dropped: https://wiki.php.net/rfc/default_expression. I >> think some of you might enjoy this one. Hit me with any feedback. >> > Now the dust has settled, I've updated the RFC to version 1.1. The > premise of the RFC is unchanged, but t

Re: [PHP-DEV] json_encode() and Generators / RFC Karma

2024-08-30 Thread Ilija Tovilo
Hi Philip On Fri, Aug 30, 2024 at 9:37 AM Philip Hofstetter wrote: > > If you think this is a worthwhile thing to do an RFC for, I would kindly ask > for somebody to grant me RFC karma, so I can start working on one. To grant you RFC karma, I need to know your wiki.php.net username. Ilija

[PHP-DEV] json_encode() and Generators / RFC Karma

2024-08-30 Thread Philip Hofstetter
Hello, In the aftermath of an internal refactoring of an internal code-base to turn something eager into something more lazy using Generators, it occurred to me that while PHP refuses to serialize() a Generator, accidentally running json_encode() over a Generator produces the worst possible result