3v4l.org

run code in 300+ PHP versions simultaneously
<?php function function_stack() { $class = new ClassStack(); $class->methodStack(); } class ClassStack { public function methodStack() { print_r(debug_backtrace()); } } call_user_func('function_stack');
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Array ( [file] => /in/hIjHf [line] => 5 [function] => methodStack [class] => ClassStack [object] => ClassStack Object ( ) [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /in/hIjHf [line] => 14 [function] => function_stack [args] => Array ( ) ) )

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
54.75 ms | 402 KiB | 8 Q