N Ngân Lam New member Sep 20, 2021 #1 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
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
Ẽ Ẽm Thư New member Sep 20, 2021 #2 Answer: a Explanation: + gives the value 1 and . is used to give join 1 and grey. Upvote 0 Downvote