• +91 9723535972
  • info@interviewmaterial.com

PHP Interview Questions and Answers

Question - How can we know the count/number of elements of an array?

Answer - a) sizeof($array) - This function is an alias of count() b) count($urarray) - This function returns the number of elements in an array. Interestingly if you just pass a simple var instead of an array, count() will return 1.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners