3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array ( '_id' => 1, 'month' => 052014, 'studId' => STU140528155358, 1 => 'p', 2 => null, 3 => null,4 => ,12 => 'a' ); var_dump($array[3]);
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.29
Parse error: syntax error, unexpected ',' in /in/pNcro on line 5
Process exited with code 255.

preferences:
186.85 ms | 1386 KiB | 66 Q