how to rebuild PHP 2 dimentional array?
<p>i have 2 dimentional array like this:</p>

<pre><code>$day_array = [[1,2,3,4,5],[1,2,3,4,5],[1,2,3,4,5],[1,2,3,4,5]];
</code></pre>

<p>and i want to rebuild like this</p>

<pre><code>$day_array = [[1,1,1,1][2,2,2,2][3,3,3,3][4,4,4,4,4][5,5,5,5]];
</code></pre>

<p>Any ideas on how to do this?</p>

<p>Thanks in advance...</p>
