Question
What will be the output of the following PHP code ?
< ?php
one = 1;
two = 2;
three = 3;
four = 4;
echo "one / two + three / four";
?>
< ?php
one = 1;
two = 2;
three = 3;
four = 4;
echo "one / two + three / four";
?>
Answer: Option D
Was this answer helpful ?
Variables should start with a $ symbol, since one, two, three, four don't begin with $ symbol we will get an error.
Was this answer helpful ?
Submit Solution