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

Discussion :: PHP - CS

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

    <?php

    $x;

    echo "$x";

    ?>

  2. A.

     0

    B.

     1

    C.

     Nothing

    D.

     Error

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    Since the variable x is not initialised it is not storing any value, therefore nothing will be printed on the screen.


Be The First To Comment