3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php while (list($key, $val) = each($process)) { foreach ($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 4.3.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: Variable passed to each() is not an array or object in /in/IA03a on line 4
Output for hhvm-3.10.0 - 3.12.0
Warning: Invalid operand type was used: expecting an array in /in/IA03a on line 4