?
What will be the output of the following PHP code ?
What will be the output of the following PHP code ?
<?php
for ($count = 0; $count < 3;$count++);
{
print "hi";continue;print "hello";
}
?>
<?php
for ($count = 0; $count < 3;$count++);
{
print "hi";continue;print "hello";
}
?>
Answer & Solution
Correct Answer:
Option
A
When continue is encountered it skips to the next iteration
Join the Discussion
Login to post a comment or share your explanation.
Login