3v4l.org

run code in 300+ PHP versions simultaneously
<?php printf("2013-10-31, -1 month: %s\n2013-10-31, first day of 1 month ago: %s", date('m', strtotime('2013-10-31 -1 month')), date('m', strtotime('2013-10-31 first day of 1 month ago'));
Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.21, 5.5.0 - 5.5.5
Parse error: syntax error, unexpected ';' in /in/kIsd2 on line 4
Process exited with code 255.

preferences:
191.08 ms | 1395 KiB | 63 Q