Home / CSE / PHP - CS :: Discussion

Discussion :: PHP - CS

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

    <?php

    $one = 1;

    print($one);

    print $one;

    ?>

  2. A.

     01

    B.

     11

    C.

     10

    D.

     Error

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    Print can be used with or without parantheses.


Be The First To Comment