3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a=function($x){echo "--$x--";}; function oha($x){echo "--$x--";}; array_walk($a,array("dies","ist",1,"test"));
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught TypeError: array_walk(): Argument #2 ($callback) must be a valid callback, array callback must have exactly two members in /in/77Mt7:6 Stack trace: #0 /in/77Mt7(6): array_walk(Object(Closure), Array) #1 {main} thrown in /in/77Mt7 on line 6
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:
43.46 ms | 401 KiB | 8 Q