Would you initialize your strings with single quotes or
double quotes?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain php parameterized functions.

563


What is difference between sql and php?

552


Under what circumstance is it impossible to assign a default value to a parameter while declaring a function?

736


Explain soundex() and metaphone().

580


How to process the uploaded files?

590






Tell me can you extend a final defined class?

527


Can you specify the "new line" character in single-quoted strings?

548


Tell me how a constant is defined in a php script?

480


What are encryption functions in php?

548


What is substr() in php? And how it is used?

526


How do we get the current session id?

559


What is the difference between mysql_fetch_array() and mysql_fetch_assoc()?

525


Why many companies are switching their current business language to php? Where php basically used?

506


Write a program using while loop?

559


What is the difference between null and empty?

583