3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php list($msec, $sec) = explode(' ', microtime()); echo date('YmdHis', $sec).str_pad(round($msec*1000, 0), 3, '0') sleep(1); list($msec, $sec) = explode(' ', microtime()); echo date('YmdHis', $sec).str_pad(round($msec*1000, 0), 3, '0')
Output for 5.4.0 - 5.4.24
Parse error: syntax error, unexpected 'sleep' (T_STRING), expecting ',' or ';' in /in/hA85d on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /in/hA85d on line 4
Process exited with code 255.