"> What will be the output of the following PHP code ?<?phpfor(;;){

Home » PHP » PHP For Loops » Question
  1. What will be the output of the following PHP code ?
    <?php
    for(;;)
    {
    print "25";
    }
    ?>
    1. Nothing
    2. 25
    3. Error
    4. Infinite loop
    5. None of these
Correct Option: D

There is no check condition to stop the execution of the loop.



Your comments will be displayed only after manual approval.