Would you initialize your strings with single quotes or
double quotes?
Answer Posted / rajan vardawaj
Since the data inside the single-quoted string is not parsed
for variable substitution, it’s always a better idea
speed-wise to initialize a string with single quotes, unless
you specifically need variable substitution.
| Is This Answer Correct ? | 22 Yes | 5 No |
Post New Answer View All Answers
How can you increase the maximum execution time of a script in php?
How can we enable error reporting in php?
What is the use of the function htmlentities?
How to submit form without a submit button.
Should I use mysqli or pdo?
What is the latest version of php?
How to retrieve values out of an array?
How long does a session last in php?
What is php7?
Does exist in php?
What is mean tnq
Can I use php in html?
Explain what is the difference between session and cookie?
How to get number of days between two given dates using PHP?
What are examples of independent and dependent variables?