?
What will be the output of the following PHP code ?
What will be the output of the following PHP code ?
<?php
for ($i = 0; 0; $i++)
{
print"i";
}
?>
<?php
for ($i = 0; 0; $i++)
{
print"i";
}
?>
Answer & Solution
Correct Answer:
Option
C
The condition of the loop is always false 0.
Join the Discussion
Login to post a comment or share your explanation.
Login