I can't understand that $a = count("123","45"); echo $a; . Output: 1. Why?Please explain me more. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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 Réponses
+ 2
Your array is "123" so one element.
24th Jun 2019, 12:28 AM
John Wells
John Wells - avatar