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
What is the output of the ucwords function in this example?
What are the different errors in php?
Whether php supports microsoft sql server?
Define about declare construct?
Is php a programming language?
Why is facebook still using php?
What is the purpose of using php?
How to run the interactive php shell from the command line interface?
What are the file upload settings in configuration file?
What is put method in php?
Tell me what is the difference between characters 34 and x34?
How escape single quotes php?
What is string function sql?
How does session work in php?
What is csrf verification?