Sr. PHP Programmer Question:
How we can get the number of elements in an array?
Answer:
The count() function is used to return the number of elements in an array.
Understanding of arrays and array related helper functions it's a knowledge that every junior developer should have.
Understanding of arrays and array related helper functions it's a knowledge that every junior developer should have.
Previous Question | Next Question |
What is the purpose of $_SESSION variable in PHP? | How will you access the size of the uploaded file in PHP? |