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

Discussion :: PHP - CS

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

    <?php

    $color = "red";

    echo "$color";

    echo "$COLOR";

    echo "$Color";

    ?>

  2. A.

     redredred

    B.

     redred

    C.

     red

    D.

     Error

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    In PHP, all variables are case-sensitive.


Be The First To Comment