Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is difference between static and constant in php?

1062


Explain what is memcache?

1038


Are there regular expressions in php?

998


What is the use of $_server["php_self"] variable?

1071


How to process the uploaded files?

1170


How to find a specific value in an array?

980


Define object-oriented methodology?

1087


How to Pass JSON Data in a URL using CURL in PHP?

1125


What are the advantages of object-oriented programming in php?

981


How can we create a database using php?

1198


What is helper function?

991


Write logic to print Floyd's triangle in PHP?

1112


How does php and apache work?

1075


Explain what are the different errors in php?

1039


Write a program in php to print a table of a number?

988