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

What will be the output of the following PHP code?
Code:
<?php
$x = -1;
$y = 1;
$z = $x * $y + $z;
echo $z;
?>
A. Undefined variable z
B. -1
C.
Undefined variable z
-1
D. None of the mentioned
 

Tìm kiếm

Back
Top