php for( count) code example Example: count php $cars = array("Volvo","BMW","Toyota"); echo count($cars); // 3