What is The difference between ' and " where they can ben
in between or outmost and how
Answer Posted / 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 |
Post New Answer View All Answers
How can we destroy the cookie in php?
Why many companies are switching their current business language to php?
What is the difference between include and require?
Are php variables global?
How do you remove whitespace from the beginning and end of a $string variable?
What is xss in php?
What is ci framework in php?
sort term descripttion form, report and uery
What are psrs?
Is php session id unique?
Which character is used to match exactly one character?
What is T_PAAMAYIM_NEKUDOTAYIM?
how to track no of users logged in?
What does the unlink() function mean?
What is data abstraction in php?