Answers for "how to count how many items in an array"

PHP
30

php length of array

<?php
	$arr = ["one", "two", "three", "four"];
	echo count($arr);
  ?>
Posted by: Guest on December-29-2019

Code answers related to "how to count how many items in an array"

Browse Popular Code Answers by Language