ExamVeda
Login
Home
Operators and Expressions in php
?

What will be the output of the following PHP code ?
<?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.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.