Single and double quotes can both be used to create strings in PHP. Single quotes usually display the text exactly as it is written, so a variable inside single quotes will not be replaced by its value. Double quotes allow PHP to recognize variables inside the string and display their values.