3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 1; $b = array(2, 3); $arr = array(&$a, &$b[0], &$b[1]); $arr=1+$arr[0]++ $arr[1]++; echo $a; echo implode($b); ?>
Output for 5.4.0 - 5.4.19
Parse error: syntax error, unexpected '$arr' (T_VARIABLE) in /in/9rM6P on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_VARIABLE in /in/9rM6P on line 6
Process exited with code 255.