📅  最后修改于: 2022-03-11 14:54:28.225000             🧑  作者: Mango
#trim array to certain legnth
$alphabet = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"];
$alphabetFirst10 = array_slice($alphabet, 0, 10);