">

Home » PHP » PHP Echo/Print » Question
  1. What will be the output of the following PHP code ?
    <?php
    print("This"."is"."a"."good"."girl");
    ?>
    1. Nothing
    2. Error
    3. Thisisagoodgirl
    4. This.is.a.good.girl
    5. None of these
Correct Option: C

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



Your comments will be displayed only after manual approval.