PHP Control Structures (Loop)
What will be the output of the following PHP code ?
for ($count = 1; $count < 20; $count++);
print $count;

19
12345678910….1920
12345678910….19
20

ANSWER DOWNLOAD EXAMIANS APP

PHP Control Structures (Loop)
What will be the output of the following PHP code ?
$a = array("hi", "hello", "bye");
for (;count($a) < 5;) {
if (count($a) == 3)
print $a;
}

no output
ArrayArrayArrayArrayArrayArray….infinitely
(“hi”,”hello”,”bye”)(“hi”,”hello”,”bye”)(“hi”,”hello”,”bye”)(“hi”,”hello”,”bye”)…infinitely
hihellobyehihellobyehihellobyehihellobyehihellobyehihellobye…..infinitely

ANSWER DOWNLOAD EXAMIANS APP