Q:

What will be the output of the following PHP code ?

0

What will be the output of the following PHP code ?

<?php
$x = 4;
$y = 3;
$z = 1;
echo "$x = $x + $y + $z";
?>

  1. 4 = 4 + 3 + 1
  2. 8
  3. 8 = 4 + 3 +1
  4. Error

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (a).4 = 4 + 3 + 1

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now