3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! echo date('Y-m-d h:m:i', strtotime(strtotime('2013-08-31 00:00:03') + 1 MONTH'));
Output for 5.4.0 - 5.4.17
Parse error: syntax error, unexpected 'MONTH' (T_STRING) in /in/0FkCg on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_STRING in /in/0FkCg on line 3
Process exited with code 255.

preferences:
181.23 ms | 1395 KiB | 53 Q