Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php how to count array

$array = ['x', 'y', 'z'];
count($array); // output 3
sizeof($array); // output 3
 
PREVIOUS NEXT
Tagged: #php #count #array
ADD COMMENT
Topic
Name
8+7 =