3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo strtotime('3:59am) - strtotime('4 am');
Output for 5.4.0 - 5.4.20
Parse error: syntax error, unexpected '4' (T_LNUMBER) in /in/JhU5I on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_LNUMBER in /in/JhU5I on line 2
Process exited with code 255.

preferences:
181.89 ms | 1386 KiB | 56 Q