Single Quotes Inside Double Quotes Php. Mar 2, 2015 at 8:56. If we use variables inside single quotes then it will output as it is variable name.

There is only one difference in the use. Use the single quotes or the double quotes alternately to escape the quotation marks in php. When i say 'immediately,' i mean sometime before august, said the manager.