 <pre><code>$list = ['a', 'b', 'c', 'd', 'e', 'f', '1', '2', '3', '4', '5', '6', '7', '8', '9']; $list2 = []; $c = 0; $temp_array = []; for ($i = 0; $i &lt; Count($list); $i++) { $c++; array_push($temp_array, $list[$i]); if ($c &gt;= 2) { array_push($list2, $temp_array); $temp_array = []; $c = 0; } } print_r($list2); echo '&lt;br /&gt;List2: ' . count($list2) . '&lt;br /&gt;List: ' . count($list); </code></pre> <p><strong>EDIT:</strong> or the solution which Mark Baker provided with the <a href="http://php.net/manual/en/function.array-chunk.php" rel="nofollow">array_chunk()</a> function. It's less code.</p>