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 design patterns in php?
how many error types in php? name there?
Specify array sort functions available in php ?
Describe which programming language does php parallel to?
What is a controller in programming?
What are php libraries?
How values in arrays are indexed?
What is the difference between mysql_connect and mysql_pconnect ? Which one is good in terms of performance ?
Why do we use csrf token?
What is http php?
What is preg_match?
Explain about image types in detail?