This is single quotes. The variable $name will NOT display.

This is double quotes. The variable name is Gavin.

Explanation

In PHP, single quotes treat everything inside them as plain text. Variables are not interpreted or replaced with their values. Double quotes, however, allow variable interpolation, meaning PHP will replace the variable with its stored value. Double quotes also allow special characters like newline to function properly.