ExamVeda
Login
Home
This question belongs to PHP Basic PHP
Basic PHP
?

Which statement will output $x on the screen?

Answer & Solution
Correct Answer: Option A
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.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.