i have 2 dimentional array like this:
$day_array = [[1,2,3,4,5],[1,2,3,4,5],[1,2,3,4,5],[1,2,3,4,5]];
and i want to rebuild like this
$day_array = [[1,1,1,1][2,2,2,2][3,3,3,3][4,4,4,4,4][5,5,5,5]];
Any ideas on how to do this?
Thanks in advance…
Version which outputs a string: