3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array ( 0 => '1421' , 1 => '2241' ); $b = array ( 0 => 'teststring1' , 1 => 'teststring2' ); $c = array ( 0 => 'teststring3' , 1 => 'teststring4' ); $d = array ( 0 => 'teststring5' , 1 => 'teststring6' ); var_export(array_combine($a, array_map(null, $b, $c, $d)));
Output for git.master, git.master_jit, rfc.property-hooks
array ( 1421 => array ( 0 => 'teststring1', 1 => 'teststring3', 2 => 'teststring5', ), 2241 => array ( 0 => 'teststring2', 1 => 'teststring4', 2 => 'teststring6', ), )

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:
35.25 ms | 405 KiB | 5 Q