3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $mynumber = (float) "3.8e-7"; var_dump($mynumber); printf('%.40F', $mynumber);
Output for 5.2.1 - 7.2.0
float(3.8E-7) 0.0000003800000000000000145680180158730410
Output for 4.3.10 - 4.4.9, 5.0.3 - 5.2.0
float(3.8E-7) 0.0000003800000000000000710542735760100186
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.2
float(3.8E-7)