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

Discussion :: PHP - CS

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

    <?php

    $a = "$winner";

    $b = "/$looser";

    echo $a,$b;

    ?>

  2. A.

     $winner/$looser

    B.

     /$looser

    C.

     /

    D.

     $looser

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    Since variables $winner and $looser is not defined we only see / as output.


Be The First To Comment