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

What will be the output of the following PHP code?
Code:
<?php
$x = 4;
$y = 3;
$z = 1;
echo "$x = $x + $y + $z";
?>
A. 4 = 4 + 3 + 1
B. 8
C. 8 = 4 + 3 +1
D. Error
 

Tìm kiếm

Back
Top