What is the difference between single-quoted and double-quoted strings in PHP?
Asked 07 September, 2021
Viewed 2.3K times
  • 59
Votes

I'm a little confused why I see some code in PHP with string placed in single quotes and sometimes in double quotes.

I just know in .NET, or the C language, if it is in a single quote, that means it is a character, not a string.

7 Answer