Discussion Forum : Php Control Structures (loop)
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 Your Solution hear:

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