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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a controller in php?

557


What is better .net or php?

579


Explain what is the difference between $var and $$var?

529


What are static variables in php?

510


What are the 5 types of variables?

572






Why do we use in php?

544


Tell me how can you pass a variable by reference?

515


Explain about looping in PHP?

605


What is x+ mode in fopen() used for?

562


How long does a session last in php?

518


What is design pattern? Explain all including singleton pattern?

543


Is php free to use?

540


How to find a specific value in an array?

511


Why php is used in html?

531


How do you call a constructor for a parent class?

508