What will be the output of the following PHP code? [code] <?php $num = "1"; $num1 = "2"; print $num+$num1; ?> [/code]

Trang Esther

New member
What will be the output of the following PHP code?
Code:
    <?php
    $num  = "1";
    $num1 = "2";
    print $num+$num1;
    ?>
A. 3
B. 1+2
C. Error
D. 12
 

Tìm kiếm

Back
Top