What is The difference between ' and " where they can ben
in between or outmost and how
Answers were Sorted based on User's Feedback
Answer / uttam thakor
variables and escape sequences for special characters will
not be expanded when they occur in single quoted strings.
E.G.
$var = 10;
//if we type
echo "$var"; // output : 10
echo '$var'; // output : $var
echo "\nabc"; //output: abc
echo '\nabc' //output :\nabc
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / rajesh
variables within "" are evaluated where as variables within
'' are printed as it is, and execution of '' based statement
are faster when compared to ""
Is This Answer Correct ? | 2 Yes | 0 No |
What are the basic steps to store PHP session in to Database?
Is facebook still written in php?
What is smarty?
What are the features and advantages of object-oriented programming in php?
How can we determine whether a php variable is an instantiated object of a certain class?
how to include a datepicker in a form using php and mysql
What are the different opening and closing tags available in PHP?
What is the name of scripting engine in php?
How does firefox manage cookies?
What is the use of trim function in php?
hi i am complted my b.tech and i want to learn php is php is good for my career and i want to know the salary growth on php any one can tell the answer plz and i am learning php myself it is easy to understand..........
Do loops php?