?
What will be the output of the following PHP code ?
What will be the output of the following PHP code ?
<?php
print("this"."was"."a"."bad"."idea");
?>
<?php
print("this"."was"."a"."bad"."idea");
?>
Answer & Solution
Correct Answer:
Option
A
You can use the dot operator like in echo but you can not use the comma operator to do the same.
Join the Discussion
Login to post a comment or share your explanation.
Login