- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.26
- Parse error: syntax error, unexpected '&', expecting ']' in /in/La4a1 on line 4
Process exited with code 255.
<?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);