3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = range(0, 5); $pop = function() use (& $pop, & $arr) { var_dump(array_pop($arr)); $pop(); }; $pop(); /* * Expected: * int(5) * int(4) * int(3) * int(2) * int(1) * int(0) * * Actual: * Fatal error: Maximum function nesting level */