ExamVeda
Login
Home
Operators and Expressions in php
?

What will be the output of the following PHP code ?
<?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.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.