Answers for "how to get the legnth of a array in php"

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 get the legnth of a array in php"

Browse Popular Code Answers by Language