[php-src] PR #25461: zend_ast: Fix float literals losing precision in AST export
| From: | jorgsowa | Date: | Sat, 14 Nov 2026 16:01:00 +0000 |
| Subject: | [php-src] PR #25461: zend_ast: Fix float literals losing precision in AST export | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-40645@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25461
Author: jorgsowa
zend_ast_export_zval() used the precision INI setting, so e.g. assert()
messages showed 0.30000000000000004 as 0.3. Use the shortest round-trip
representation instead.