πŸ“Š PHP
Q. What will be the output of the following PHP code ?
Code:
<?php
$color = "red";
$color = "green";
echo "$color";
?>
  • (A) red
  • (B) green
  • (C) red green
  • (D) error
πŸ’¬ Discuss
βœ… Correct Answer: (B) green

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
137218
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Yogesh
Publisher
πŸ“ˆ
99%
Success Rate