3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print sprintf('%G', 0.001);
Output for 5.2.1 - 7.1.0
0.001
Output for 4.3.0 - 5.2.0