Home / CSE / PHP - CS :: Discussion

Discussion :: PHP - CS

  1. Which of the following php statement/statements will store 111 in variable num?
    1. int $num = 111;
    2. int mum = 111;
    3. $num = 111;
    4. 111 = $num;

  2. A.

     Both 1 and 2

    B.

     All of the mentioned

    C.

     Only 3

    D.

     Only 1

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    You need not specify the datatype in php.


Be The First To Comment