My name is $name.
My name is Ethan.
In PHP, single quotes and double quotes can both create strings, but they behave differently. Single quotes generally display variables literally, while double quotes allow variables and certain escape sequences to be interpreted. For example, the single-quoted string above displays "$name", while the double-quoted string displays the value stored in the $name variable. Double quotes are useful when a string needs variable interpolation, while single quotes are useful when the text should remain mostly unchanged.