On Wed, Dec 1, 2021 at 7:00 AM Christoph M. Becker <cmbecke...@gmx.de>
wrote:

>
> The point is that $a > $b is actually checking whether $b <= $a.  This
> is fine for ordered values, but these arrays are not orderable
> (according to PHP's comparison).  That might indeed not be documented in
> the PHP manual (the language specification appears to be abandoned anyway).
>
>
Are there any tests that capture this? As part of my operator overload RFC
I'm breaking out > into its own opcode instead of a reordered <=, so this
may actually be "fixed" by this. However, I haven't noticed any array
related comparison tests failing in my builds.

Jordan

Reply via email to