3v4l.org

run code in 300+ PHP versions simultaneously
<?php $callback = function ($p1, $p2) use (&$count, $values) { echo "OK!"; }; var_dump($callback);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $values in /in/srfUt on line 3 object(Closure)#1 (2) { ["static"]=> array(2) { ["count"]=> &NULL ["values"]=> NULL } ["parameter"]=> array(2) { ["$p1"]=> string(10) "<required>" ["$p2"]=> string(10) "<required>" } }

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