Home » PHP » PHP Operators » Question
  1. What will be the output of the following PHP code ?
    <?php
    $s = 4;
    $t = 8;
    $s *= $t /= $s;
    echo $s, $t;
    ?>
    1. 82
    2. 4
    3. 8
    4. Nothing
    5. None of these
Correct Option: A

Expression is evaluated from right to left.



Your comments will be displayed only after manual approval.