Return to bug47168.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / strings |
1.1 misho 1: --TEST-- 2: Bug #47168 (printf of floating point variable prints maximum of 40 decimal places) 3: --FILE-- 4: <?php 5: 6: $dyadic = 0.00000000000045474735088646411895751953125; 7: var_dump(printf ("%1.41f\n",unserialize(serialize($dyadic)))); 8: 9: ?> 10: --EXPECT-- 11: 0.00000000000045474735088646411895751953125 12: int(44)