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 uPTuq on line 2
Process exited with code 255.

preferences:
188.32 ms | 1395 KiB | 43 Q