Tell me would you initialize your strings with single quotes or double quotes?
Answer Posted / Ranjana Kumari
In PHP, you can use either single quotes (') or double quotes (") to initialize a string. The main difference lies in how they handle variables and escape sequences. Single quotes don't recognize variables or escape sequences, while double quotes do.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers