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 $k => $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 'else' (T_ELSE) in /in/7kG6u on line 11
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_ELSE in /in/7kG6u on line 11
Process exited with code 255.