3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( "BMW" => "bar", "AUDI" = array('1' = 'A1') ); var_dump($array);
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.29
Parse error: syntax error, unexpected '=', expecting ')' in /in/WLfTp on line 5
Process exited with code 255.

preferences:
186 ms | 1395 KiB | 66 Q