Home / CSE / PHP - CS :: Discussion

Discussion :: PHP - CS

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

    <?php

    $a = 'a' ;

    print $a * 2;

    ?>

  2. A.

     192

    B.

     2

    C.

     error

    D.

     0

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    Characters cannot be multiplied.


Be The First To Comment