ExamVeda
Login
Home
Operators and Expressions in php
?

What will be the output of the following PHP code ?
<?php
echo "This", "was", "a", "bad", "idea";
?>

Answer & Solution
Correct Answer: Option C
In an echo statement the comma operator is used to join strings.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.