$alphabet = array("a", "b", "c", "d", "e","g","h","i","j","k"); $firstFive = array_slice($alphabet, 0, 5); //get first 5 elements of array