3v4l.org

run code in 200+ 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 7.2.0 - 7.3.0rc4
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /in/IA03a on line 4 Warning: Variable passed to each() is not an array or object in /in/IA03a on line 4
Output for 4.3.0 - 7.1.20
Warning: Variable passed to each() is not an array or object in /in/IA03a on line 4