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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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