3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo strtotime('-1 month', date('Y-m-01'))
Output for 5.6.0 - 5.6.27, 7.0.0 - 7.0.12
Parse error: syntax error, unexpected end of file, expecting ',' or ';' in /in/1QomD on line 3
Process exited with code 255.

preferences:
179.63 ms | 1395 KiB | 48 Q