3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array_x = array(); $array_x['a'] = array(1,2,3,4); $array_x['b'] = array(2,3,4,5); foreach ($array_x as $k => $v) { foreach (&$v as $x) { $x = $x * 2; } } var_dump($array_x);
Output for 5.3.0 - 5.4.28
Parse error: syntax error, unexpected '&' in /in/713OL on line 8
Process exited with code 255.