Single Choice
Not Set
QWhat will be the output of the following PHP code?
< ?php
$on$e = 1;
$tw$o = 2;
$thre$e = 3;
$fou$r = 4;
echo "$on$e / $tw$o + $thre$e / $fou$r" ;
?>
ID: #2369
Variables in Php MCQ
781 views
Question Info
#2369Q ID
Not SetDifficulty
Variables in Php MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
You can not use the $ in between the variable name.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic