Home » PHP » PHP Operators » Question
  1. What will be the output of the following PHP code ?
    <?php
    $n1 = 13;
    print ++$n++;
    ?>
    1. Error
    2. Nothing
    3. 13
    4. 14
    5. None of these
Correct Option: A

First pre increment is done and the result is a number,thus post increment cannot be performed on it.



Your comments will be displayed only after manual approval.