?
What will be the output of the following PHP code ?
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 & Solution
Correct Answer:
Option
D
Variables should start with a $ symbol, since one, two, three, four don’t begin with $ symbol we’ll get an error.
Join the Discussion
Login to post a comment or share your explanation.
Login