Would you initialize your strings with single quotes or
double quotes?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / srimanta chakraborty
if in the string,substitution is needed then initialize with
double quotes else single quotes, as it will become fast.
| Is This Answer Correct ? | 7 Yes | 2 No |
Answer / srimanta chakraborty
if in the special character is there then initialize with
double quotes else single quotes, as it will become fast.
| Is This Answer Correct ? | 5 Yes | 5 No |
Answer / jitendra k jain
we can initialize string with single quotes,but in special character case, we need to initialize string with double quotes.the best way to define string with double quote.
| Is This Answer Correct ? | 0 Yes | 3 No |
What is the meaning of curl , which is used while connecting with pay pal? and how it works?
How can we convert the time zones using PHP?
Is empty function c++?
How can we upload a php + mysql Site
Is empty array php?
How can we convert asp pages to PHP pages?
Sir, I want sbi clearical post model question paper please sent my mail id srinivas_33000@ahoo.co.in
0 Answers State Bank Of India SBI,
What are the advantages and disadvantages of cascade style sheets?
How to reset/destroy a cookie in php?
what is interface in php? how it is use?
10 Answers Infosys, PHP, Times, Torque Infotech, Wipro,
Explain me how failures in execution are handled with include() and require() functions?
What is variable and data type?