with double quotes
I have 10 apples

with single quotes
I have $var apples

The double quotes allow the PHP to interpret the $ as a variable. This allows strings to be printed into text without a concatinator. However, the single quotes prevents PHP from interpreting the $ which is useful for printing text explaining variables without constantly using the escape.