Q. What will be the output of the following PHP code ?
Code:
<?php $color1 = "red"; $color2 = "1"; echo "$color1" + "$color2"; ?>
β
Correct Answer: (D)
1
<?php $color1 = "red"; $color2 = "1"; echo "$color1" + "$color2"; ?>
You must be Logged in to update hint/solution