Re: [PHP-DEV] Release Managers for PHP 8.3

2023-03-01 Thread Calvin Buckley
On Wed, 2023-03-01 at 23:20 +0300, Sergey Panteleev wrote: > Please put your name forward here if you wish to be considered a > candidate. An initial TODO page has been added to the wiki and > contains provisional dates for GA and pre-releases [2]. I'll throw my hat into the ring, since I had prev

Re: [PHP-DEV] Release Managers for PHP 8.3

2023-03-01 Thread Eric Mann via internals
I had volunteered in a previous cycle but, sadly, lost in the voting round. That said, I'm still eager to be more heavily involved and up for the challenge (both for the immediate process and for any long-term support beyond the dates listed in the existing todo. I've been working with PHP in

[PHP-DEV] Release Managers for PHP 8.3

2023-03-01 Thread Sergey Panteleev
Hi all, It's time to start the process of finding and electing RMs for the next minor PHP release. We are looking for three souls to take on this role. Whomsoever is elected will be guided and helped by the current, as well as previous RMs and the excellent documentation in release-process.md

Re: [PHP-DEV] RFC Idea - json_validate() validate schema

2023-03-01 Thread Larry Garfield
On Wed, Mar 1, 2023, at 6:06 AM, Jakub Zelenka wrote: > On Wed, Mar 1, 2023 at 11:44 AM juan carlos morales < > dev.juan.mora...@gmail.com> wrote: > >> Hello Internals. >> >> I am thinking about improving the json_validate() function developed >> for php 8.3. >> >> The actual descriptions goes like

Re: [PHP-DEV] RFC Idea - json_validate() validate schema

2023-03-01 Thread Deleu
On Wed, Mar 1, 2023, 12:02 PM Michał Marcin Brzuchalski < michal.brzuchal...@gmail.com> wrote: > Hi Deleu, > > śr., 1 mar 2023 o 16:54 Deleu napisał(a): > >> >> >> On Wed, Mar 1, 2023 at 9:36 AM Michał Marcin Brzuchalski < >> michal.brzuchal...@gmail.com> wrote: >> >>> >>> Do we really need this

Re: [PHP-DEV] RFC Idea - json_validate() validate schema

2023-03-01 Thread Michał Marcin Brzuchalski
Hi Deleu, śr., 1 mar 2023 o 16:54 Deleu napisał(a): > > > On Wed, Mar 1, 2023 at 9:36 AM Michał Marcin Brzuchalski < > michal.brzuchal...@gmail.com> wrote: > >> >> Do we really need this in core? What makes it less usable as an extension? >> >> Cheers, >> Michał Marcin Brzuchalski >> >> > >> > >

Re: [PHP-DEV] RFC Idea - json_validate() validate schema

2023-03-01 Thread Deleu
On Wed, Mar 1, 2023 at 9:36 AM Michał Marcin Brzuchalski < michal.brzuchal...@gmail.com> wrote: > > Do we really need this in core? What makes it less usable as an extension? > > Cheers, > Michał Marcin Brzuchalski > > > > Extensions are not easy to install and have a complex distribution system

Re: [PHP-DEV] RFC: code optimizations

2023-03-01 Thread Deleu
On Wed, Mar 1, 2023 at 8:15 AM Max Kellermann wrote: > On 2023/03/01 06:37, Max Kellermann wrote: > > Indeed it appears Dmitry is right - code refactoring is generally NOT > > allowed (unless there is an explicit RFC vote, and I havn't seen one). > > IMO this is a bug in the process, and I'm try

Re: [PHP-DEV] RFC Idea - json_validate() validate schema

2023-03-01 Thread juan carlos morales
Excellent Jakub, amazing, happy to know all this. Lets wait for your proposal. Good luck, make it happen! El mié, 1 mar 2023 a las 10:45, Jakub Zelenka () escribió: > > Hi, > > On Wed, Mar 1, 2023 at 1:36 PM Michał Marcin Brzuchalski > wrote: >> >> Hi Jakub >> >> śr., 1 mar 2023, 14:09 użytkown

Re: [PHP-DEV] RFC Idea - json_validate() validate schema

2023-03-01 Thread Jakub Zelenka
Hi, On Wed, Mar 1, 2023 at 1:36 PM Michał Marcin Brzuchalski < michal.brzuchal...@gmail.com> wrote: > Hi Jakub > > śr., 1 mar 2023, 14:09 użytkownik Jakub Zelenka napisał: > >> > >> > Question ... are you planning to incorporate this by enhancing >> > json_validate() ??? >> > >> >> Yes the plan

Re: [PHP-DEV] RFC Idea - json_validate() validate schema

2023-03-01 Thread Michał Marcin Brzuchalski
Hi Jakub śr., 1 mar 2023, 14:09 użytkownik Jakub Zelenka napisał: > > > > Question ... are you planning to incorporate this by enhancing > > json_validate() ??? > > > > Yes the plan is to initially enhance json_decode and json_validate that > would get a new $schema argument . I plan to create a

Re: [PHP-DEV] RFC Idea - json_validate() validate schema

2023-03-01 Thread Jakub Zelenka
> > Question ... are you planning to incorporate this by enhancing > json_validate() ??? > Yes the plan is to initially enhance json_decode and json_validate that would get a new $schema argument . I plan to create a class for the actually schema as it needs to be parsed to its own representation

Re: [PHP-DEV] RFC Idea - json_validate() validate schema

2023-03-01 Thread Flávio Heleno
On Wed, Mar 1, 2023 at 9:23 AM juan carlos morales < dev.juan.mora...@gmail.com> wrote: > Jakub, wow, great to know this. thanks for writting. > > Ok, then I will assume that this feature will come from you > sometime in future. > > Since json_validate() was announced ... I have being receivi

Re: [PHP-DEV] RFC Idea - json_validate() validate schema

2023-03-01 Thread juan carlos morales
Jakub, wow, great to know this. thanks for writting. Ok, then I will assume that this feature will come from you sometime in future. Since json_validate() was announced ... I have being receiving messages (a lot) about providing the ability to use JSON SCHEMAS as well, hopefully we will have

[PHP-DEV] RFC: code optimizations

2023-03-01 Thread Max Kellermann
On 2023/03/01 06:37, Max Kellermann wrote: > Indeed it appears Dmitry is right - code refactoring is generally NOT > allowed (unless there is an explicit RFC vote, and I havn't seen one). IMO this is a bug in the process, and I'm trying to fix it. It should be allowed to merge small incremental

Re: [PHP-DEV] RFC Idea - json_validate() validate schema

2023-03-01 Thread Jakub Zelenka
On Wed, Mar 1, 2023 at 11:44 AM juan carlos morales < dev.juan.mora...@gmail.com> wrote: > Hello Internals. > > I am thinking about improving the json_validate() function developed > for php 8.3. > > The actual descriptions goes like this: > > json_validate(string $json, int $depth = 512, int $fla

[PHP-DEV] RFC Idea - json_validate() validate schema

2023-03-01 Thread juan carlos morales
Hello Internals. I am thinking about improving the json_validate() function developed for php 8.3. The actual descriptions goes like this: json_validate(string $json, int $depth = 512, int $flags = 0): bool I am thinking about enhancing this function to also be able to validate against a JSON S

Re: [PHP-DEV] PHP code refactoring (was: include cleanup)

2023-03-01 Thread Dmitry Stogov
On Wed, Mar 1, 2023 at 11:34 AM Niels Dossche wrote: > On 3/1/23 08:42, Dmitry Stogov wrote: > > On Wed, Mar 1, 2023 at 8:37 AM Max Kellermann wrote: > > > >> On 2023/02/28 23:33, Max Kellermann wrote: > Include cleanups RFC was rejected. > No refactoring RFC was presented. > A l

Re: [PHP-DEV] PHP code refactoring (was: include cleanup)

2023-03-01 Thread Niels Dossche
On 3/1/23 08:42, Dmitry Stogov wrote: > On Wed, Mar 1, 2023 at 8:37 AM Max Kellermann wrote: > >> On 2023/02/28 23:33, Max Kellermann wrote: Include cleanups RFC was rejected. No refactoring RFC was presented. A lot of changes that affect all core contributors are committed into >