3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array ('backtrace', 'print'); array_walk($array, 'walk_callback', str_repeat("\0",1337*1337)); function walk_callback($value, $key, $userdata) { if ($value == 'print') { print($userdata); exit("\n\n"); } elseif ($value == 'backtrace') { debug_backtrace(); if ($userdata !== str_repeat("\0",1337*1337)) { die("won't get here, \$userdata is still clean until we return"); } } }