Home » PHP » PHP Operators » Question
  1. What will be the output of the following PHP code ?
    <?php
    $m = 8;
    echo $m = ++$m % 9 + ++$m;
    ?>
    1. 10
    2. 9
    3. 8
    4. Error
    5. None of these
Correct Option: A

Evaluation done from right to left.



Your comments will be displayed only after manual approval.