ExamVeda
Login
Home
Operators and Expressions in php
?

What will be the output of the following PHP code ?
<?php
$color = "red";
$color = "green";
echo "$color";
?>

Answer & Solution
Correct Answer: Option B
The variable contains the last value which has been assigned.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.