run code in 150+ php & hhvm versions
Bugs & Features
<?php // A reference can be taken to a key that doesn’t exist within an undefined variable (which becomes an array). Using a non-existent array // normally issues a notice, but this does not. $ref = $array[&$key]; var_dump($array,$ref);
Output for 5.3.0 - 5.4.26
Parse error: syntax error, unexpected '&', expecting ']' in /in/La4a1 on line 4
Process exited with code 255.