3v4l.org

run code in 300+ PHP versions simultaneously
<?php $type = array('Type 1','Type 2','Type 3',' Type 4','Type 5'); $desc = array('Description 1','Description 2','Description 3','Description 4','Description 5'); $brand = array('Brand 1','Brand 2','Brand 3','Brand 4','Brand 5'); $model = array('Model 1','Model 2','Model 3','Model 4','Model 5'); $res = array_map(function(...$val) {return $val;}, $type, $desc, $brand, $model); print_r($res);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Array ( [0] => Type 1 [1] => Description 1 [2] => Brand 1 [3] => Model 1 ) [1] => Array ( [0] => Type 2 [1] => Description 2 [2] => Brand 2 [3] => Model 2 ) [2] => Array ( [0] => Type 3 [1] => Description 3 [2] => Brand 3 [3] => Model 3 ) [3] => Array ( [0] => Type 4 [1] => Description 4 [2] => Brand 4 [3] => Model 4 ) [4] => Array ( [0] => Type 5 [1] => Description 5 [2] => Brand 5 [3] => Model 5 ) )

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:
65.47 ms | 403 KiB | 8 Q