?
What will be the output of the following PHP code ?
What will be the output of the following PHP code ?
<?php
echo "This","was"|"a","bad"."idea";
?>
<?php
echo "This","was"|"a","bad"."idea";
?>
Answer & Solution
Correct Answer:
Option
B
You can use only comma and dot operator to join starings, other characters do not have the same function.
Join the Discussion
Login to post a comment or share your explanation.
Login