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 ($key=>$val as $k => $v) { if (is_array($v)) { $process[$key][stripslashes($k)] = $v; $process[] = &$process[$key][stripslashes($k)]; } else { $process[$key][stripslashes($k)] = stripslashes($v); echo $process[$key][stripslashes($k)] ; echo $v; } } } unset($process); ?>
Output for 5.4.0 - 5.4.20
Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /in/7XojX 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/7XojX on line 6
Process exited with code 255.