3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr[] = array('name'='null','eins','zwo'); $arr[] = array('name'='zehn','elf','zwoelf'); for ($i = 0; $i<2; $i++) { echo $arr[$i]['name']; } ?>
Output for 5.3.0 - 5.3.22, 5.4.0 - 5.4.12
Parse error: syntax error, unexpected '=', expecting ')' in /in/WoOa9 on line 2
Process exited with code 255.

preferences:
195.8 ms | 1399 KiB | 43 Q