[php-src] Issue #9286: php bug ? addition

From: Date: Tue, 09 Aug 2022 13:47:00 +0000
Subject: [php-src] Issue #9286: php bug ? addition
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-242165@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/9286 Author: duchnoun ### Description The following code: ```php <?php php -r 'ini_set("precision", 20); var_dump(17.52+69.05+13.43);' php -r 'ini_set("precision", 20); var_dump(69.05+13.43+17.52);' ``` Resulted in this output: ``` => float(100) => float(99.999999999999) ``` But I expected this output instead: ``` float(100) float(100) ``` ### PHP Version php all version ### Operating System linux/windows

« previous php.bugs (#242165) next »