V Việt Quân New member Sep 20, 2021 #1 What will be the output of the following PHP code? Code: <?php $color1 = "red"; $color2 = "red"; echo "$color1" + "$color2"; ?> A. redgreen B. red green C. 0 D. 1
What will be the output of the following PHP code? Code: <?php $color1 = "red"; $color2 = "red"; echo "$color1" + "$color2"; ?> A. redgreen B. red green C. 0 D. 1
N Nguyễn Ngọc Huỳnh New member Sep 20, 2021 #2 Answer: c Explanation: + does not return 1 if the variables are equal. Upvote 0 Downvote