<?php $matrix = array(1, 2, 1,1, 2, 1,1, 1, 1); $res = array_chunk($matrix,3); print_r($res);
You have javascript disabled. You will not be able to edit any code.