3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $v = 50.1; var_dump(preg_replace('/(E[+-])(\d)$/', '\${1}0$2', sprintf('%1.2E',$v));
Output for 5.3.0 - 5.5.8
Parse error: syntax error, unexpected ';' in /in/fY4Jf on line 3
Process exited with code 255.