InterviewSolution
Saved Bookmarks
| 1. |
How to get total number of elements used in array? |
|
Answer» We can use the count() or sizeof() function to GET the number of ELEMENTS in an ARRAY. Example$array1 = array("1","4","3"); OUTPUT : 3 |
|