Vidyalelo
PHP · Q9

Arrays

Programming · PHP · question 9

Q9

What will be the output of the following PHP code?

A.
3
B.
4
C.
5
D.
6
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
The array entity holding pear and mango is counted as an item, just as its contents are.