Single and Double Quotes

This is an example using single quotes.
My name is Varun Sain. This is an example using double quotes.

I use both single and double quotes to write text in PHP. I use single quotes when I want to show the text mostly as it is written. I use double quotes when I want PHP to read a variable inside my text. For example, when I use $name inside double quotes, I can see the value stored in the variable.