On Tue, 14 Nov 2023 at 18:49, Robert Landers wrote:
>
> On Tue, Nov 14, 2023 at 1:39 PM Andreas Hennings wrote:
> >
> > Hello Robert,
> >
> > On Tue, 14 Nov 2023 at 11:09, Robert Landers
> > wrote:
> > >
> > > Andreas,
> > >
> > > Just out of curiosity, what is the use case for this? I can't re
On 14 Nov 2023, at 17:49, Robert Landers wrote:
> One of the most beautiful things about PHP is that null == 0 == false, or '5'
> == 5 == 5.0, or 1 == true == 'hello world', which is so incredibly handy in
> web-dev that to ignore it is inviting bugs. Headers may or may not be set,
> form value
On Tue, Nov 14, 2023 at 1:39 PM Andreas Hennings wrote:
>
> Hello Robert,
>
> On Tue, 14 Nov 2023 at 11:09, Robert Landers wrote:
> >
> > Andreas,
> >
> > Just out of curiosity, what is the use case for this? I can't really
> > think of a practical case where strict checking is needed for these
>
On Tue, 14 Nov 2023 at 02:08, David Gebler wrote:
>
> On Sun, Nov 12, 2023 at 8:20 PM Andreas Hennings
> wrote:
>
> > So to me, this alone is an argument to implement this natively.
> > The other argument is that it is kind of sad how the current functions
> > don't behave as one would expect.
>
Hello Robert,
On Tue, 14 Nov 2023 at 11:09, Robert Landers wrote:
>
> Andreas,
>
> Just out of curiosity, what is the use case for this? I can't really
> think of a practical case where strict checking is needed for these
> functions. Usually, you have a really good idea of what is in the
> array
Andreas,
Just out of curiosity, what is the use case for this? I can't really
think of a practical case where strict checking is needed for these
functions. Usually, you have a really good idea of what is in the
arrays when writing the code and can handle any edge cases (like
nulls, empty strings,
On Sun, Nov 12, 2023 at 8:20 PM Andreas Hennings
wrote:
> So to me, this alone is an argument to implement this natively.
> The other argument is that it is kind of sad how the current functions
> don't behave as one would expect.
I'd expect there to be a larger and proportionately increasing p
On Sat, 11 Nov 2023 at 20:43, Andreas Hennings wrote:
>
> Hello David,
>
> On Sat, 11 Nov 2023 at 20:04, David Gebler wrote:
> >
> > On Sat, Nov 11, 2023 at 6:05 PM Andreas Hennings
> > wrote:
> >
> > > Hello internals,
> > > I noticed that array functions like array_diff(), array_intersect()
>
Hello David,
On Sat, 11 Nov 2023 at 20:04, David Gebler wrote:
>
> On Sat, Nov 11, 2023 at 6:05 PM Andreas Hennings
> wrote:
>
> > Hello internals,
> > I noticed that array functions like array_diff(), array_intersect()
> > etc use weak comparison.
> >
> >
> That's not quite correct. Using the e
On Sat, Nov 11, 2023 at 6:05 PM Andreas Hennings
wrote:
> Hello internals,
> I noticed that array functions like array_diff(), array_intersect()
> etc use weak comparison.
>
>
That's not quite correct. Using the example of array_diff, the comparison
is a strict equality check on a string cast of
10 matches
Mail list logo