Question
What will be the output of the following PHP code ?
< ?php
var $one = 1;
var $two = 2;
echo "$one / $two * $one / $two * $two";
?>
< ?php
var $one = 1;
var $two = 2;
echo "$one / $two * $one / $two * $two";
?>
Answer: Option D
Was this answer helpful ?
You can not use var before a variable name.
Was this answer helpful ?
Submit Solution