3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array( array('say', 0, T_STRING), array(" \n", 3, T_WHITESPACE), array('123', 5, T_DNUMBER), ); foreach ($a as list($b,$c,$d)) { var_dump($b, $c, $d); }
Output for git.master, git.master_jit
string(3) "say" int(0) int(313) string(2) " " int(3) int(397) string(3) "123" int(5) int(312)
Output for rfc.property-hooks
string(3) "say" int(0) int(313) string(2) " " int(3) int(399) string(3) "123" int(5) int(312)

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