on-internet
← Community

What is the difference between single-quoted and double-quoted strings in PHP?

Stack Overflow ·

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.

Comments

Sign in or sign up to comment and upvote.

No comments yet.