Re: [PHP-DEV] intersection types and null for defaults, properties and return types

2021-07-20 Thread Deleu
On Tue, Jul 20, 2021, 20:35 Niklas Keller wrote: > > > > > > > nicolas-grekas wrote on the PR: > > > > > > ?X&Y cannot be confused with > > > > > > > > > > It confused me. A compiler might understand it, but as a human I > have > > > > > trouble understanding it. > > > > I think ?X&Y would be a p

Re: [PHP-DEV] intersection types and null for defaults, properties and return types

2021-07-20 Thread Niklas Keller
> > > > > nicolas-grekas wrote on the PR: > > > > > ?X&Y cannot be confused with > > > > > > > > It confused me. A compiler might understand it, but as a human I have > > > > trouble understanding it. > I think ?X&Y would be a pretty poor syntax choice, as it's ambiguous as many others said: (X|nu

Re: [PHP-DEV] intersection types and null for defaults, properties and return types

2021-07-20 Thread Jordan LeDoux
On Mon, Jul 19, 2021 at 11:16 AM G. P. B. wrote: > On Mon, 19 Jul 2021 at 18:26, Guilliam Xavier > wrote: > > > On Mon, Jul 19, 2021 at 4:26 PM Nicolas Grekas > > > wrote: > > > > > > > > https://github.com/php/php-src/pull/7259 > > > > > > > Great! Thanks! Interesting how it works out-of-the-b

Re: [PHP-DEV] Problems with the mailing list [was: Re: [PHP-DEV] Request for karma to vote on RFCs]

2021-07-20 Thread Bob Magic
i can't prove that i was shadowbanned but after a huge fight with someone on this mailing list, i stopped getting all responses from it, even just general help commands, for about 6 years. mysteriously it just started working again last year with nothing done on my part, and here i am, right where

[PHP-DEV] Re: [Vote] Pipe operator v2

2021-07-20 Thread Larry Garfield
On Tue, Jul 6, 2021, at 12:13 PM, Larry Garfield wrote: > I have opened the vote on the Pipe operator RFC: > > https://wiki.php.net/rfc/pipe-operator-v2 > > The vote will close on 20 July. The vote has now closed. Yes: 11 No: 17 The RFC has been declined. --Larry Garfield -- PHP Internals -

Re: [PHP-DEV] intersection types and null for defaults, properties and return types

2021-07-20 Thread G. P. B.
On Tue, 20 Jul 2021 at 14:41, Joe Watkins wrote: > Agree, an RFC looks like the only way. > > This is not worth delaying a release for, nor is it worth postponing the > feature freeze date. > > It seems reasonable to fix this after freeze, would prefer to reach > consensus before RC stage. > > Ch

Re: [PHP-DEV] [Vote] Pipe operator v2

2021-07-20 Thread Olle Härstedt
2021-07-20 11:12 GMT+02:00, Marco Pivetta : > Hey Larry, > > On Sat, Jul 17, 2021 at 6:00 PM Larry Garfield > wrote: > >> Hi Marco. Thank you for your explanation, even if I naturally disagree. >> >> Out of curiosity, what sort of additional >> power/capability/flexibility/etc. would, in your min

Re: [PHP-DEV] Request for karma to vote on RFCs

2021-07-20 Thread Matthew Brown
On Sun, 18 Jul 2021 at 14:47, Tobias Nyholm wrote: > There has not been many (maybe just one or two) RFCs where I wished the > vote turned out the other way. > This was the reason that I did *not* think that I needed a vote, as a prolific PHP coder — while individual voters might be voting the "

Re: [PHP-DEV] Request for karma to vote on RFCs

2021-07-20 Thread Andreas Heigl
Hey Mike Am 20.07.21 um 15:11 schrieb Mike Schinkel: >> On Jul 20, 2021, at 8:55 AM, Andreas Heigl wrote: >> >> Hey Mike >> >> Thank you for your feedback! >> >> Am 20.07.21 um 11:57 schrieb Mike Schinkel: >>> Quoting the RFC >>> the requester has contributed to the PHP sourcecode ecosystem.

Re: [PHP-DEV] Request for karma to vote on RFCs

2021-07-20 Thread Rowan Tommins
On 20/07/2021 06:37, Tobias Nyholm wrote: I also saw suggestions that one has to be a good core developer to be able to influence PHP. I find it particularly strange if it would be a requirement. When decisions are just a matter of bikeshedding, or deciding what "style" the language should ha

Re: [PHP-DEV] Request for karma to vote on RFCs

2021-07-20 Thread Mike Schinkel
> On Jul 20, 2021, at 8:55 AM, Andreas Heigl wrote: > > Hey Mike > > Thank you for your feedback! > > Am 20.07.21 um 11:57 schrieb Mike Schinkel: >> Quoting the RFC >> >>> the requester has contributed to the PHP sourcecode ecosystem. >> >> You mention what types of contributions apply, but g

Re: [PHP-DEV] Request for karma to vote on RFCs

2021-07-20 Thread Andreas Heigl
Hey Mike Thank you for your feedback! Am 20.07.21 um 11:57 schrieb Mike Schinkel: > Quoting the RFC > >> the requester has contributed to the PHP sourcecode ecosystem. > > You mention what types of contributions apply, but give no indication of > quantity. If someone fixes one bug, does that

Re: [PHP-DEV] intersection types and null for defaults, properties and return types

2021-07-20 Thread Joe Watkins
Agree, an RFC looks like the only way. This is not worth delaying a release for, nor is it worth postponing the feature freeze date. It seems reasonable to fix this after freeze, would prefer to reach consensus before RC stage. Cheers Joe On Tue, 20 Jul 2021 at 13:07, Nikita Popov wrote: > On

Re: [PHP-DEV] Request for karma to vote on RFCs

2021-07-20 Thread Chase Peeler
On Tue, Jul 20, 2021 at 2:22 AM Andreas Heigl wrote: > Hey All > > Am 19.07.21 um 17:02 schrieb Andreas Heigl: > > Hey All > > > > Am 19.07.21 um 16:34 schrieb Levi Morrison via internals: > >> On Mon, Jul 19, 2021 at 2:38 AM Nikita Popov > wrote: > >>> > >>> On Sun, Jul 18, 2021 at 8:48 PM Tobi

Re: [PHP-DEV] Request for karma to vote on RFCs

2021-07-20 Thread Andreas Heigl
Hey Hamza Am 20.07.21 um 13:12 schrieb Hamza Ahmad: > I am not going to critique the RFC; rather, I say that this RFC needs > a fresh rewrite because I find more like it a set of instructions. The > proposal needs to be a detailed one. It seams as if it is written > hastily. As noted in the origi

Re: [PHP-DEV] Request for karma to vote on RFCs

2021-07-20 Thread Hamza Ahmad
I am not going to critique the RFC; rather, I say that this RFC needs a fresh rewrite because I find more like it a set of instructions. The proposal needs to be a detailed one. It seams as if it is written hastily. As Tobias has mentioned that he has been reading the RFCs for years, there is a la

Re: [PHP-DEV] intersection types and null for defaults, properties and return types

2021-07-20 Thread Nikita Popov
On Mon, Jul 19, 2021 at 8:16 PM G. P. B. wrote: > On Mon, 19 Jul 2021 at 18:26, Guilliam Xavier > wrote: > > > On Mon, Jul 19, 2021 at 4:26 PM Nicolas Grekas > > > wrote: > > > > > > > > https://github.com/php/php-src/pull/7259 > > > > > > > Great! Thanks! Interesting how it works out-of-the-bo

Re: [PHP-DEV] License for PHP 8.x?

2021-07-20 Thread Mike Schinkel
> On Jul 20, 2021, at 6:16 AM, Nikita Popov wrote: > > On Tue, Jul 20, 2021 at 12:01 PM Mike Schinkel > wrote: >> On Jul 19, 2021, at 3:31 AM, Nikita Popov > > wrote: >> >> On Mon, Jul 19, 2021 at 5:56 AM Mike Schinkel >

Re: [PHP-DEV] License for PHP 8.x?

2021-07-20 Thread Nikita Popov
On Tue, Jul 20, 2021 at 12:01 PM Mike Schinkel wrote: > On Jul 19, 2021, at 3:31 AM, Nikita Popov wrote: > > On Mon, Jul 19, 2021 at 5:56 AM Mike Schinkel wrote: > >> I was just checking to see what the license was for PHP and this page[1] >> states: >> >> "PHP 4, PHP 5 and PHP 7 are di

Re: [PHP-DEV] Request for karma to vote on RFCs

2021-07-20 Thread Aleksander Machniak
On 20.07.2021 08:22, Andreas Heigl wrote: > the requester has contributed to the PHP sourcecode ecosystem. That can be (but is not limited to): >Contributions to the PHP-Sources >Contributions to the Documentation or the Translation >Triage, solve or otherwise interact with bugs Voter

Re: [PHP-DEV] License for PHP 8.x?

2021-07-20 Thread Mike Schinkel
> On Jul 19, 2021, at 3:31 AM, Nikita Popov wrote: > > On Mon, Jul 19, 2021 at 5:56 AM Mike Schinkel > wrote: > I was just checking to see what the license was for PHP and this page[1] > states: > > "PHP 4, PHP 5 and PHP 7 are distributed under the PHP Licen

Re: [PHP-DEV] Request for karma to vote on RFCs

2021-07-20 Thread Mike Schinkel
Quoting the RFC > the requester has contributed to the PHP sourcecode ecosystem. You mention what types of contributions apply, but give no indication of quantity. If someone fixes one bug, does that give them voting rights? I would assume not. So is it two bugs, 10 bugs, 100? > these contr

Re: [PHP-DEV] intersection types and null for defaults, properties and return types

2021-07-20 Thread Ondřej Mirtes
I agree completely with George P. Banyard, these changes don’t seem very well though-out. Pure intersection types are fine as accepted by the RFC. Both ?A&B and (A&B)|null are confusing and would create holes in the type system yet to be filled (but users would definitely try to use them which woul

Re: [PHP-DEV] Request for karma to vote on RFCs

2021-07-20 Thread Andreas Heigl
Hey Jordan, Hey All. Am 20.07.21 um 10:07 schrieb Jordan LeDoux: > Another aspect that I thought about after reading your draft was a way to > structurally avoid concerns about stacking. I don't believe that there > would necessarily be overt efforts to grant karma to individuals to push > certain

Re: [PHP-DEV] [Vote] Pipe operator v2

2021-07-20 Thread Marco Pivetta
Hey Larry, On Sat, Jul 17, 2021 at 6:00 PM Larry Garfield wrote: > Hi Marco. Thank you for your explanation, even if I naturally disagree. > > Out of curiosity, what sort of additional > power/capability/flexibility/etc. would, in your mind, justify pipe or > similar being a native feature? PH

Re: [PHP-DEV] Problems with the mailing list [was: Re: [PHP-DEV] Request for karma to vote on RFCs]

2021-07-20 Thread Lynn
On Tue, Jul 20, 2021 at 10:50 AM Bruce Weirdan wrote: > On Tue, Jul 20, 2021 at 10:45 AM Lynn wrote: > > I'm also still receiving a bunch of messages from > > the mailing list in my spam folder (gmail), and there's not much I can do > > about it. > > I fixed it in Gmail with a filter like this:

Re: [PHP-DEV] Problems with the mailing list [was: Re: [PHP-DEV] Request for karma to vote on RFCs]

2021-07-20 Thread Bruce Weirdan
On Tue, Jul 20, 2021 at 10:45 AM Lynn wrote: > I'm also still receiving a bunch of messages from > the mailing list in my spam folder (gmail), and there's not much I can do > about it. I fixed it in Gmail with a filter like this: Matches (goes into 'Has words' field): list:(internals.lists.ph

Re: [PHP-DEV] Request for karma to vote on RFCs

2021-07-20 Thread Jordan LeDoux
On Mon, Jul 19, 2021 at 11:23 PM Andreas Heigl wrote: > Hey All > > Am 19.07.21 um 17:02 schrieb Andreas Heigl: > > Hey All > > > > Am 19.07.21 um 16:34 schrieb Levi Morrison via internals: > >> On Mon, Jul 19, 2021 at 2:38 AM Nikita Popov > wrote: > >>> > >>> On Sun, Jul 18, 2021 at 8:48 PM Tob

Re: [PHP-DEV] Problems with the mailing list [was: Re: [PHP-DEV] Request for karma to vote on RFCs]

2021-07-20 Thread Lynn
On Tue, Jul 20, 2021 at 9:33 AM Peter Bowyer wrote: > I have now been contacted by 2 people who tried multiple times to join this > mailing list and cannot. > > It took me 5 weeks for my signup to work. During that time I emailed the > different @php.net mailboxes related to infrastructure and/or

[PHP-DEV] Problems with the mailing list [was: Re: [PHP-DEV] Request for karma to vote on RFCs]

2021-07-20 Thread Peter Bowyer
> > Currently there are people with voting permissions that do vote, yet do not interact with RFCs or the mailing list. On Mon, 19 Jul 2021 at 23:34, Bob Magic wrote: > i'd say we need something more modern and transparent than this old mailing > list, but i completely lack a suggestion that isn