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

Discussion :: PHP - CS

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

    <?php

    print("this"."was"."a"."bad"."idea");

    ?>

  2. A.

     thiswasabadidea

    B.

     this was a bad idea

    C.

     nothing

    D.

     error

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    You can use the dot operator like in echo but you can not use the comma operator to do the same.


Be The First To Comment