Answers for "php get array array length"

PHP
1

php array length

<?php 
  $names = array("Ankur","Raj","Ram","Suresh");
  echo count($names);
 $cars=array("Volvo","BMW","Toyota");
 echo count($cars);
// test
Posted by: Guest on March-12-2021

Browse Popular Code Answers by Language