What will be the output of the following PHP code? [code] <?php $color1 = "1"; $color2 = "1"; echo "$color1" + "$color2"; ?> [/code]

Thanh Thảo

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

Tìm kiếm

Back
Top