3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $process = array('get', 'pst', 'co', 'rec'); while (list($key, $val) = each($process)) { echo $key; echo $val; foreach ($process as => $v) { echo $k; echo $v; $process[$key][$k] = $v; echo $v; } } unset($process); ?>
Output for 5.4.0 - 5.5.4
Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /in/9kplO on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /in/9kplO on line 6
Process exited with code 255.