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 the main function of php?
What is a composer?
What is csrf token and how will you add csrf token in ajax?
What is php array function?
How do you pass a variable by value?
When is a conditional statement ended with an endif?
Do you know what is the use of the function 'imagetypes()'?
What is php explain how php works?
What is php and sql?
What is a simple php method to make a cross domain data request?
Explain what is meant by pear in php?
Tell me how to initiate a session in php?
How to fix "headers already sent" error in php
How can php and javascript interact?
Explain the difference between require() and require_once()?