3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = array(array(1, 2), array(3, 4), array(5, 6)); foreach($array as list($odd, $even)){ echo "$odd is odd; $even is even", PHP_EOL; }
Output for rfc.property-hooks, git.master, git.master_jit
1 is odd; 2 is even 3 is odd; 4 is even 5 is odd; 6 is even

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:
58.2 ms | 2496 KiB | 4 Q