summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/bug47168.phpt
blob: 4cca36256999018c074e8c865f8bbf0b92344f48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--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)