3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1 = ["l_ka3a1", "l_ka3a2", "l_ka3a3"]; $arr2 = ["l_no_inspection", "l_elbab_alresi", "l_bab_alqa3a"]; $arr3 = ["notes", "notes", null]; $newArr = array_map(function($item1, $item2, $item3){ return [$item1, $item2, $item3]; }, $arr1, $arr2, $arr3); var_dump($newArr);
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { [0]=> array(3) { [0]=> string(7) "l_ka3a1" [1]=> string(15) "l_no_inspection" [2]=> string(5) "notes" } [1]=> array(3) { [0]=> string(7) "l_ka3a2" [1]=> string(14) "l_elbab_alresi" [2]=> string(5) "notes" } [2]=> array(3) { [0]=> string(7) "l_ka3a3" [1]=> string(12) "l_bab_alqa3a" [2]=> NULL } }

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.57 ms | 406 KiB | 5 Q