3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [['a' => 'aa', 'b' => 'bb'], ['a' => 'aa2', 'b' => 'bb2']]; foreach ($arr as list($a, $b)) { var_dump([$a, $b]); }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined array key 0 in /in/B9J3V on line 4 Warning: Undefined array key 1 in /in/B9J3V on line 4 array(2) { [0]=> NULL [1]=> NULL } Warning: Undefined array key 0 in /in/B9J3V on line 4 Warning: Undefined array key 1 in /in/B9J3V on line 4 array(2) { [0]=> NULL [1]=> NULL }

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:
50.57 ms | 402 KiB | 8 Q