3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php$t = microtime();list($us, $s) = explode(' ', $t);$us *= 1000000;$f = sprintf('%d.%d', $s, $us);var_dump($t, $f);
Output for 5.4.34
Parse error: syntax error, unexpected '$t' (T_VARIABLE) in /in/m9fZ5 on line 1
Process exited with code 255.
Output for 5.4.0 - 5.4.32
<?php$t = microtime();list($us, $s) = explode(' ', $t);$us *= 1000000;$f = sprintf('%d.%d', $s, $us);var_dump($t, $f);