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 are the four scalar types of php?
How to convert any type of video formate in flv formate in php can any buddy give me coding.
What is data structure in php?
What does csrf token mismatch mean?
Where are the session values stored?
How send email using php?
how we can crop an image and how we can display it..
Tell me how can we get the error when there is a problem to upload a file?
How can I make a script that can be bilingual (supports english, german)?
What is the exact Diff. between include_once() and require_once() in PHP?
Name the Functions in IMAP, POP3 AND LDAP?
What is full form of PHP?