adspace
What is the difference between single quoted string and double quoted string?
Answer Posted / Vibhuti Narayan Patel
In PHP, there are two types of string delimiters: single quotes ('') and double quotes (""). Single-quoted strings allow only a single backslash escape sequence (e.g., '), while double-quoted strings allow more complex escape sequences such as
for new line, for tab,
for carriage return, ' for single quote, and " for double quotes.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the current stable version of php?
List some features of php that are deprecated in php7?
What does $_files means?
What is the current stable version of php? What advance thing in php7?
What is the difference between htmlentities() and htmlspecialchars()?
Write a program using while loop?
Tell me what kind of things have you done on the social side?
What sized websites have you worked on in the past?
How can we extract string "pcds.co.in" from a string "https://info@pcds.co.in" using regular expression of php? More on reg can you explain
how to detect a mobile device using php
Name and explain five of the PHP error constants?
What is difference between static and final in php?
What is trait in php?
How to calculate the difference between two dates using php?
Explain me is it possible to destroy a cookie?