MCQ
Single Best Answer
Not Set
QWhich statement will output $x on the screen?
ID: #2365
PHP Basic MCQ
6,642 views
Question Info
#2365Q ID
Not SetDifficulty
PHP Basic MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer: Option A
Explanation
A backslash is used so that the dollar sign is treated as a normal string character rather than prompt PHP to treat $x as a variable. The backslash used in this manner is known as escape character.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic