Escape Slash Examples

Not Using Escape Slash:
He said "Hello" to me.

Using Escape Slash:
He said "Hello" to me.

The escape slash makes it so PHP can use characters that normally stop a string, such as quotation marks. When you escape a quote, PHP understands it as part of the text instead of the end of the string.