Using escape backslash

Adding the escape backslash \ allows you to enter illegal characters into a string uwithout running them in PHP.

I can add a \ before a quotation mark to print out statements with quotes "like this" into a string or before other symbols like $ to print them literally.


Return to index