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

Discussion :: PHP - CS

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

    <?php

    $x = 3, 4, 5, 6;

    echo "$x";

    ?>

  2. A.

     3

    B.

     4

    C.

     6

    D.

     Error

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    In C you won’t get an error but in PHP you’ll get a syntax error.


Be The First To Comment