📅  最后修改于: 2022-03-11 14:53:44.901000             🧑  作者: Mango
// using count() we can get proper length of the array
$names = array("Ankur","Raj","Ram","Suresh");
// pass array into count() as parameter it will return array length
echo count($names);
// output : 4