3v4l.org

run code in 300+ PHP versions simultaneously
<?php $subject = array( 'Mykey' => 'MyValue', 'MyOtherKey' => 'MyOtherValue' ); $split = array(array_keys($subject), array_values($subject)); var_dump($split, array_merge(...array_map(null, ...$split)));
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { [0]=> array(2) { [0]=> string(5) "Mykey" [1]=> string(10) "MyOtherKey" } [1]=> array(2) { [0]=> string(7) "MyValue" [1]=> string(12) "MyOtherValue" } } array(4) { [0]=> string(5) "Mykey" [1]=> string(7) "MyValue" [2]=> string(10) "MyOtherKey" [3]=> string(12) "MyOtherValue" }

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:
45.24 ms | 402 KiB | 8 Q