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


Please Help Members By Posting Answers For Below Questions

Name some of the popular frameworks in php.

555


How to move uploaded files to permanent directory?

536


What does == mean in php?

522


Which are the best start and end tags to use?

581


Can we use session in mvc?

561






write a prog using insert,update,delete in this manner as output? name: phno. add button 1.name phno. edit button delete button 2.

1563


What is the meaning of a final class and a final method?

536


How to call a php function from html button?

616


What is data abstraction in php?

584


Differentiate between require and include?

546


How to remove the new line character from the end of a text line?

518


What is the current stable version of php?

555


Explain the difference between php4 and php5.

558


What is a session in php?

573


How do you trim spaces in excel?

520