"> What will be the output of the following PHP code ?<?phpif

Home » PHP » PHP If Else/Else If Statement » Question
  1. What will be the output of the following PHP code ?
    <?php
    if (0.0)
    print "First" ;
    else
    print "Second";
    ?>
    1. True
    2. First
    3. False
    4. Second
    5. None of these
Correct Option: D

Expression evaluates to false.



Your comments will be displayed only after manual approval.