[php-src] PR #20223: standard: Handle negative zero in `min()`/`max()`

From: Date: Sun, 19 Oct 2025 13:48:19 +0000
Subject: [php-src] PR #20223: standard: Handle negative zero in `min()`/`max()`
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-33707@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/20223 Author: TimWolla Positive and negative zero normally compare equal, but when specifically retrieving a minimum or maximum from a list of numbers, we should consider -0.0 to be lower than 0.0 instead of treating them the same and returning the “first match”. Fixes php/php-src#20221 ------------ Targeting PHP 8.5, since I consider this a bugfix, but not important enough for the fully-released branches.

« previous php.git-pulls (#33707) next »