+ 1

I can't understand that $a = count("123","45"); echo $a; . Output: 1. Why?Please explain me more.

It is strange...

23rd Jun 2019, 5:49 PM
Sanjar Sobirjonov
Sanjar Sobirjonov - avatar
2 Answers
+ 2
Your array is "123" so one element.
24th Jun 2019, 12:28 AM
John Wells
John Wells - avatar