$alphabet = array("a", "b", "c", "d", "e","f"); $firsthalf = array_slice($alphabet, 0, count($alphabet) / 2); $secondhalf = array_slice($alphabet, count($alphabet) / 2);