Example: No use of escape slash

Hello Michael

Example: Use of escape slash

Hello "Michael"

Explanation

In the first example, there is no escape slash, so PHP substitutes the variable and simply prints name that is defined(i.e. Michael). In the second example, the escape slash is used before the quotation marks, so PHP treats the quotation marks as plain text and prints them around Michael.