ExamVeda
Login
Home
Operators and Expressions in php
?

What will be the output of the following PHP code ?
<?php
$a = "$winner";
$b = "$looser";
echo $a, $b;
?>

Answer & Solution
Correct Answer: Option C
Since two backslashes are used together, a single backslash is printed on the screen and as $looser is not initialised only single backslash is printed.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.