3v4l.org

run code in 500+ PHP versions simultaneously
<?php $arr = array( 0 => array('foo' => '1','bar' => 'A'), 1 => array('foo' => '2','bar' => 'B'), 2 => array('foo' => '3','bar' => 'C')); $foo = array_map('array_shift', &$arr); $bar = array_map('array_pop', $arr); var_dump($foo,$bar);
Output for git.master_jit, git.master
Parse error: syntax error, unexpected token "&", expecting ")" in /in/aFIFt on line 10
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:
30.43 ms | 660 KiB | 3 Q