"/>
Home / CSE / PHP - CS :: Discussion

Discussion :: PHP - CS

  1. What will be the output of the following PHP code?

    <?php

    $a = "clue";

    $a .= "get";

    echo "$a";

    ?>

  2. A.

     get

    B.

     true

    C.

     false

    D.

     clueget

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    .= is a concatenation-assignment. $a equals its current value concatenated with “get”.


Be The First To Comment