What will be the output of the following PHP code? [code] <?php $x = 5; $y = 10; $z = "$x + $y"; echo "$z"; ?> [/code]

Tiên Hương

New member
What will be the output of the following PHP code?
Code:
<?php
$x = 5;
$y = 10;
$z = "$x + $y";
echo "$z";
?>
A. 15
B. 10 + 5
C. $z
D. $x + $y
 

Tìm kiếm

Back
Top