How can we know the count/number of elements of an array?
Answer Posted / joseph george c
you can get the no: of elements in the array through
count()
syntax:
count($arrayname);
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
How to check curl is enabled or not in PHP
Will react hooks replace redux?
Explain the difference between $var and $$var?
What are the ways to include file in php?
Do you know how can we check the value of a given variable is a number?
What is a static method php?
What is the default time of cookie in php?
How to find the length of a string?
What are examples of dependent variables?
List types of array are available in php?
What is "print" in php?
Why php script is not running in browser?
What are the different components used in php for formatting?
What are default session time and path?
Is php a cms?