3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = microtime(true); $j = 0; for ($i = 0; $i < 10000; $i++) { $j+= $i; } echp sprintf('%0.4f', microtime(true) - $s);
Output for 5.4.0 - 5.4.25
Parse error: syntax error, unexpected 'sprintf' (T_STRING) in /in/IHaIi on line 8
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/IHaIi on line 8
Process exited with code 255.