3v4l.org

run code in 500+ PHP versions simultaneously
<?php echo date("F", strtotime('first day of -4 month')); echo date("F", strtotime('first day of -3 month')); echo date("F", strtotime('first day of -2 month')); echo date("F", strtotime('first day of -1 month')); echo date("F");

preferences:
79.79 ms | 2111 KiB | 5 Q