What will be the output of the following PHP code? [code] <?php $color1 = "red"; $color2 = "1"; $color3 = "grey" echo "$color1" + "$color2" . "$

Ngân Lam

New member
What will be the output of the following PHP code?
Code:
<?php
$color1 = "red";
$color2 = "1";
$color3 = "grey"
echo "$color1" + "$color2" . "$color3";
?>
A. 1grey
B. grey
C. 0
D. red1grey
 

Tìm kiếm

Back
Top