Home » PHP » PHP Variables » Question
  1. What will be the output of the following PHP code ?
    <?php
    var $five = 5;
    var $six = 6;
    echo $five / $six * $five / $six * $six;
    ?>
    1. Nothing
    2. Error
    3. 5
    4. 0.25
    5. None of these
Correct Option: B

You can not use var before a variable name.



Your comments will be displayed only after manual approval.