&lt;?php$a = array&#40;&quot;hi&quot;, &quot;hello&quot;, &quot;bye&quot;&#41;;for &#40;;count&#40;$a&#41; &lt; 5;&#41; &#123;    if &#40;count&#40;$a&#41; == 3&#41;	    print $a;         &#125;?&gt;
A. ArrayArrayArrayArrayArrayArray….infinitely
B. (“hi”,”hello”,”bye”)(“hi”,”hello”,”bye”)(“hi”,”hello”,”bye”)(“hi”,”hello”,”bye”)…infinitely
C. hihellobyehihellobyehihellobyehihellobyehihellobyehihellobye…..infinitely
D. no output
Answer:A
&lt;?php$a = array&#40;&quot;hi&quot;, &quot;hello&quot;, &quot;bye&quot;&#41;;for &#40;;count&#40;$a&#41; &lt; 5;&#41; &#123;    if &#40;count&#40;$a&#41; == 3&#41;	    print $a;         &#125;?&gt;
A. ArrayArrayArrayArrayArrayArray….infinitely B. (“hi”,”hello”,”bye”)(“hi”,”hello”,”bye”)(“hi”,”hello”,”bye”)(“hi”,”hello”,”bye”)…infinitely C. hihellobyehihellobyehihellobyehihellobyehihellobyehihellobye…..infinitely D. no output
Explanation: As count($a) returns 3 the condition is always true, thus it prints $a, which returns its data type. Sanfoundry Global Education & Learning Series – PHP Programming.