Re: [PHP-DEV] RFC: Stop to automatically cast numeric-string to int when using them as array-key

2022-01-01 Thread Andreas Hennings
On Sun, 2 Jan 2022 at 06:20, Michael Morris wrote: > > On Sat, Jan 1, 2022 at 10:47 PM Kirill Nesmeyanov wrote: > > > > > >Суббота, 1 января 2022, 17:41 +03:00 от Rowan Tommins < > > rowan.coll...@gmail.com>: > > > > > >On 31/12/2021 00:21, Kirill Nesmeyanov wrote: > > >> I support this behavior

Re: [PHP-DEV] RFC: Stop to automatically cast numeric-string to int when using them as array-key

2022-01-01 Thread Kirill Nesmeyanov
  >Воскресенье, 2 января 2022, 8:20 +03:00 от Michael Morris : >  >On Sat, Jan 1, 2022 at 10:47 PM Kirill Nesmeyanov < n...@xakep.ru > wrote: > >> >> >Суббота, 1 января 2022, 17:41 +03:00 от Rowan Tommins < >> rowan.coll...@gmail.com >: >> > >> >On 31/12/2021 00:21, Kirill Nesmeyanov wrote: >> >

Re: [PHP-DEV] RFC: Stop to automatically cast numeric-string to int when using them as array-key

2022-01-01 Thread Jordan LeDoux
On Sat, Jan 1, 2022 at 9:20 PM Michael Morris wrote: > I leave the decision making to the maintainers and contribs who do the > actual work. Hell, I personally don't even use PHP that much these days > having gotten a job where I focus on writing Cucumber tests in JavaScript > that run on node.js

Re: [PHP-DEV] RFC: Stop to automatically cast numeric-string to int when using them as array-key

2022-01-01 Thread Michael Morris
On Sat, Jan 1, 2022 at 10:47 PM Kirill Nesmeyanov wrote: > > >Суббота, 1 января 2022, 17:41 +03:00 от Rowan Tommins < > rowan.coll...@gmail.com>: > > > >On 31/12/2021 00:21, Kirill Nesmeyanov wrote: > >> I support this behavior fix because in its current form, due to a > similar problem (almost?)

Re: [PHP-DEV] RFC: Stop to automatically cast numeric-string to int when using them as array-key

2022-01-01 Thread Kirill Nesmeyanov
>Суббота, 1 января 2022, 17:41 +03:00 от Rowan Tommins >: >  >On 31/12/2021 00:21, Kirill Nesmeyanov wrote: >> I support this behavior fix because in its current form, due to a similar >> problem (almost?), all PSR-7 implementations contain bugs that violate >> RFC7230 (section 3.2: >> https:/

[PHP-DEV] Allowing NULL for some internal functions

2022-01-01 Thread Craig Francis
On Thu, 2 Dec 2021 at 15:19, Sara Golemon wrote: > On Thu, Dec 2, 2021 at 8:48 AM Craig Francis > wrote: > >> Is there any value in me proposing an RFC to update *some* internal >> functions so they can accept NULL? >> > > I'm not hard against this idea. The interpretation of null in these > co

[PHP-DEV] Re: [RFC] User Defined Operator Overloads (v0.6)

2022-01-01 Thread Jordan LeDoux
On Thu, Dec 9, 2021 at 12:11 PM Jordan LeDoux wrote: > Hello internals, > > I last brought this RFC up for discussion in August, and there was > certainly interesting discussion. Since then there have been many > improvements, and I'd like to re-open discussion on this RFC. I mentioned > in the f

Re: [PHP-DEV] RFC: Stop to automatically cast numeric-string to int when using them as array-key

2022-01-01 Thread Rowan Tommins
On 31/12/2021 00:21, Kirill Nesmeyanov wrote: I support this behavior fix because in its current form, due to a similar problem (almost?), all PSR-7 implementations contain bugs that violate RFC7230 (section 3.2:https://datatracker.ietf.org/doc/html/rfc7230#section-3.2 ). Thus, physically, by