<?php $vegetables = ["Cabbage", "Carrot", "Lettuce"]; $arrayLength = count($vegetables); echo $arrayLength; //returns 3 ?>