Vidyalelo
PHP · Q86

Control Structures(Loop In PHP)

Programming · PHP · question 86

Q86

What will be the output of the following PHP code ?

A.
ArrayArrayArrayArrayArrayArray….infinitely
Answer
B.
(“hi”,”hello”,”bye”)(“hi”,”hello”,”bye”)(“hi”,”hello”,”bye”)(“hi”,”hello”,”bye”)…infinitely
C.
hihellobyehihellobyehihellobyehihellobyehihellobyehihellobye…..infinitely
D.
no output

Answer: Option A

Solution

Answer: Option A
Solution:
As count(a, which returns its data type.