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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I run php?

526


what is the use of include_once in php?

531


How cookies are trported from browsers to servers?

564


What is the use of the function htmlentities?

618


Which php framework is in demand?

450






What is a simple php method to make a cross domain data request?

515


how to use http headers inside php? Write the statement through which it can be added?

504


What is polymorphism?

2065


Explain the casts allowed in PHP?

577


What is session cookies php?

544


What does the arrow mean in php?

518


What is the correct and the most two common way to start and finish a php block of code?

521


How many ways to include variables in double-quoted strings in php?

545


How to read a file in binary mode?

631


How long does a php session last for?

559