3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = '1234'; $b = '34564'; $z[1] = &$a; $x[] = &$z[1] $z[1] = &$b; var_dump($a, $b, $z, $x);
Output for 5.4.0 - 5.4.15
Parse error: syntax error, unexpected '$z' (T_VARIABLE) in /in/RmCZH on line 8
Process exited with code 255.
Output for 5.3.0 - 5.3.25
Parse error: syntax error, unexpected T_VARIABLE in /in/RmCZH on line 8
Process exited with code 255.