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
What is difference between static and constant in php?
Explain what is memcache?
Are there regular expressions in php?
What is the use of $_server["php_self"] variable?
How to process the uploaded files?
How to find a specific value in an array?
Define object-oriented methodology?
How to Pass JSON Data in a URL using CURL in PHP?
What are the advantages of object-oriented programming in php?
How can we create a database using php?
What is helper function?
Write logic to print Floyd's triangle in PHP?
How does php and apache work?
Explain what are the different errors in php?
Write a program in php to print a table of a number?