3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $v = 50.1; var_dump(sprintf('%1.2E',$v));
Output for 5.2.1 - 7.1.0
string(7) "5.01E+1"
Output for 4.3.0 - 5.2.0
string(0) ""