Sail E0 Webinar
Question
What will be the output of the following PHP code ?$a = array("hi", "hello", "bye");foreach ($a as $value) {if (count($a) == 2)print $value;}
Options:
A .  infinite loop
B .  hihello
C .  hihellobye
D .  no output
Answer: Option D

Submit Your Solution Below and Earn Points !

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers