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 |
Do you know what is the differences between $a != $B and $a !== $B?
What are the different types of array in php?
What is the purpose of the following files having extensions 1) .frm 2) .myd 3) .myi? What do these files contain?
how to track user logged out or not? when a user is idle?
Whhat is a Functions
What is the current stable version of php? What advance thing in php7?
Is empty java?
How to remove leading and trailing spaces from user input values?
What is data abstraction in php?
What's php?
What are the different ways to login to a remote server?
How to swap two variables without using 3rd temp variable.