?
What will be the output of the following PHP code ?
What will be the output of the following PHP code ?
<?php
$color = "red";
echo "$color";
echo "$COLOR";
echo "$Color";
?>
<?php
$color = "red";
echo "$color";
echo "$COLOR";
echo "$Color";
?>
Answer & Solution
Correct Answer:
Option
C
In PHP, all variables are case-sensitive.
Join the Discussion
Login to post a comment or share your explanation.
Login