Which statement will output $x on the screen?
Which statement will output $x on the screen? Correct Answer echo “\$x”;
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.
মোঃ আরিফুল ইসলাম
Feb 20, 2025