3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function function_stack() { $class = new ClassStack(); $class->methodStack(); } class ClassStack { public function methodStack() { print_r(debug_backtrace()); } } call_user_func('function_stack');