Return the number of elements in an array:
<?php
$cars=array("Volvo","BMW","Toyota");
echo sizeof($cars);
?>
by გიორგი ბაკაშვილი
4 years ago
PHP
Array
PHP official doc
0
Pro tip: use ```triple backticks around text``` to write in code fences