Double quotes example: My name is Lojain.
Single quotes example: My name is $name.
Single and double quotes can both be used to create strings in PHP, but they behave differently. Double quotes can recognize variables inside the string and display their values. Single quotes usually display the text exactly as it is written and do not automatically replace a variable with its value.