Home » PHP » PHP Operators » Question
  1. What will be the output of the following PHP code ?
    <?php
    $k = 15;
    --$k;
    echo $k++;
    ?>
    1. 15
    2. 14
    3. Error
    4. Nothing
    5. None of these
Correct Option: B

The + operator does union of arrays in that order, then the === operator compares key and value pairs.



Your comments will be displayed only after manual approval.