PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $matrix = [1,2,3,4,5]; $arr2 = array_chunk($matrix, 1); $arr3 = array_map(null, ...$arr2); print_r($arr3);
Show:  
Copy Clear