3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo strtotime(date('Y-m-d h:i:s', strtotime('-1 hours'))); echo " ||| " echo strtotimedate('Y-m-d h:i:s', strtotime('-3 hours'));
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
Parse error: syntax error, unexpected 'echo' (T_ECHO), expecting ',' or ';' in /in/jRKtC on line 5
Process exited with code 255.

preferences:
174.15 ms | 1395 KiB | 22 Q