On 22.08.2025 at 22:09, Larry Garfield wrote:

> Though apparently what PHP currently does with Point comparisons in min/max 
> is... weird.  I don't even know what the logic here is. :)
> 
> https://3v4l.org/pTmiV

That's the usual PHP object/array comparison [1]: 10 > 2, and 5 < 10.
The $y member isn't even checked.  See
<https://www.php.net/manual/en/language.operators.comparison.php#example-167>.

Christoph

Reply via email to