From: Nikita Popov Date: Fri, 11 Oct 2019 15:09:06 +0000 (+0200) Subject: Add upgrading note for round(-0.0) change X-Git-Tag: php-7.4.0RC4~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aa10e208303e8a36f543b2c0afbc15f1ca980410;p=php Add upgrading note for round(-0.0) change As cmb pointed out, the new behavior is compliant with POSIX: https://pubs.opengroup.org/onlinepubs/9699919799/functions/round.html. --- diff --git a/UPGRADING b/UPGRADING index eefa590f89..f9a3828e7b 100644 --- a/UPGRADING +++ b/UPGRADING @@ -153,6 +153,7 @@ PHP 7.4 UPGRADE NOTES considered failures. . fread() and fwrite() on plain files will now throw a notice on failure, such as when trying to write to a read-only file resource. + . round(-0.0) will now return -0.0 rather than +0.0. - Tokenizer: . token_get_all() will now emit a T_BAD_CHARACTER token for unexpected