PHP Functions | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

PHP Functions

What can count() do ?

16th Jan 2019, 2:19 PM
Gauhar Rahman Niazi
Gauhar Rahman Niazi  - avatar
1 Answer
+ 7
Counts the elements in an array or the length of an array. PHP doesn’t have length property like other languages.
16th Jan 2019, 2:25 PM
Toni Isotalo
Toni Isotalo - avatar