Discussion :: PHP - CS
-
What will be the output of the following PHP code ?
<?php
$color1 = "red";
$color2 = "1";
$color3 = "grey"
echo "$color1" + "$color2" . "$color3";
?>
Answer : Option A
Explanation :
+ gives the value 1 and . is used to give join 1 and grey.
Be The First To Comment