"> What will be the output of the following PHP code ?<?php$Fiv_e

Home » PHP » PHP Variables » Question
  1. What will be the output of the following PHP code ?
    <?php
    $Fiv_e = 5;
    $Si_x = 6;
    $Seve_n = 7;
    $Eigh_t = 8;
    echo "$Fiv_e / $Si_x + $Seve_n / $Eigh_t";
    ?>
    1. Error
    2. 1.25
    3. Nothing
    4. 5.25
    5. None of these
Correct Option: B

You can use _ in a variable name.



Your comments will be displayed only after manual approval.