MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following PHP code ? <?php $a = array("hi", "hello", "bye"); for (;count($a) < 5;) { if (count($a) == 3) print $a; } ?> |
| A. | ArrayArrayArrayArrayArrayArray .infinitely |
| B. | ( hi , hello , bye )( hi , hello , bye )( hi , hello , bye )( hi , hello , bye ) infinitely |
| C. | hihellobyehihellobyehihellobyehihellobyehihellobyehihellobye ..infinitely |
| D. | No output |
| Answer» B. ( hi , hello , bye )( hi , hello , bye )( hi , hello , bye )( hi , hello , bye ) infinitely | |