3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $v = 50.1; echo sprintf('%1.2E',$v);
Output for 5.2.1 - 7.2.0
5.01E+1
Output for 4.3.0 - 5.2.0