ExamVeda
Login
Home
Operators and Expressions in php
?

What will be the output of the following PHP code ?
<?php
$x = 4;
$y = 3;
$z = 1;
echo "$x = $x + $y + $z";
?>

Answer & Solution
Correct Answer: Option A
Again since the variables are inside double quotes we get this result.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.