3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $text = "685484585478488466"; echo $text = floatval($text); echo "\n"; $text = number_format($text, 0, ".", ""); echo $text;
based on foKs5
Output for 4.3.0 - 4.3.1, 5.2.1, 5.2.7 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
6.8548458547849E+17 685484585478488448
Output for 5.2.2 - 5.2.6
685484585478490000 685484585478488448
Output for 4.3.2 - 5.2.0
6.8548458547849E+17 685484585478488500