3v4l.org

run code in 300+ PHP versions simultaneously
<?php months = {"January", "February", "March", "April", "May", "june", "July", "August", "September", "October", "November", "December"}; for (i=0; i < 12; i++) { echo date('F', strtotime(months[i])); } ?>
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.24
Parse error: syntax error, unexpected '=' in /in/PHPd5 on line 2
Process exited with code 255.

preferences:
196.15 ms | 1395 KiB | 61 Q