3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace f; function test() { test2(); } function test2() { print_r(getnext(debug_backtrace(0))); } function getnext($a) { return current(array_slice($a, 1, 1, true)); } for ($i = 0; $i <= 5000; $i++) { test(); }