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

Discussion :: PHP - CS

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

    <?php

    $one = "one";

    $two = "one";

    print($one == $two);

    ?>

  2. A.

     true

    B.

     false

    C.

     1

    D.

     error

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    Since both the strings are equal the result 1 is printed on the screen.


Be The First To Comment