3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = strtotime('2014-01-01') - strtotime('2014-01-01') echo date('h:i', 0); // echoes: 01:00 (!)
Output for 5.4.0 - 5.4.24
Parse error: syntax error, unexpected 'echo' (T_ECHO) in /in/kHSUH on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_ECHO in /in/kHSUH on line 3
Process exited with code 255.