When using double quotes anything placed inside the string is evaluated and put into the output. Below is an example with the name of "Little Red Riding Hood" in double quotes. When using single quotes, the variables are taken literally and need to be surrounded as such (. $name .) in order to be evaluated as a variable.