3v4l.org

run code in 300+ PHP versions simultaneously
<?php function func_a( $arg1, $arg2, $arg3 = null ) { $summ = $arg1 + $arg2; function func_arg( $a1, $a2 ) { $output = $GLOBALS['summ'] + $a1 + $a2; return $output; } } print func_a( 3, 5, func_arg( 7, 9 ) );
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function func_arg() in /in/GvJYs:12 Stack trace: #0 {main} thrown in /in/GvJYs on line 12
Process exited with code 255.

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:
18.4 ms | 401 KiB | 8 Q