1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 17:22:15 +01:00
Files
archived-php-src/ext/standard/tests/strings/bug47168.phpt

13 lines
293 B
PHP

--TEST--
Bug #47168 (printf of floating point variable prints maximum of 40 decimal places)
--FILE--
<?php
$dyadic = 0.00000000000045474735088646411895751953125;
var_dump(printf ("%1.41f\n",unserialize(serialize($dyadic))));
?>
--EXPECT--
0.00000000000045474735088646411895751953125
int(44)