Interview QuestionsCategory: PHPHow we can display the total number of elements in Array?
bestonetechnologies Staff asked 4 years ago

How we can display the total number of elements in Array?

1 Answers
bestonetechnologies Staff answered 4 years ago

echo sizeof($ar);
echo count($ar);

Your Answer

11 + 2 =