0
$array = [
    [1,2,3],
    [8,9,4],
    [7,6,5],
];

How to create an array of arrays to get such an array at the output. add each next element to the array

$new_array = [
    [1,8,7],
    [2,9,6],
    [3,4,5],
];
DarkBee
  • 15,492
  • 5
  • 46
  • 56

0 Answers0