3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [ ['a' => 1, 'b' => 2, 'c' => 3], ['a' => 3, 'b' => 2, 'c' => 1], ]; $b = [ ['d' => 4, 'e' => 5, 'f' => 6], ['d' => 6, 'e' => 5, 'f' => 4], ]; var_export( array_map( 'array_values', array_merge($a, $b) ) );
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => array ( 0 => 1, 1 => 2, 2 => 3, ), 1 => array ( 0 => 3, 1 => 2, 2 => 1, ), 2 => array ( 0 => 4, 1 => 5, 2 => 6, ), 3 => array ( 0 => 6, 1 => 5, 2 => 4, ), )

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:
29.56 ms | 406 KiB | 5 Q