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
Can I use php in html?
What is PECL?
What does isset() function?
What is the php function that removes the last element of the array and returns it?
What is php array function?
Which method removes the last element from the end of an array?
Tell me what is the difference between unset() and unlink()?
Why should I learn php?
How do I check if a given variable is empty?
What is a controller in php?
How to return ascii value of character in php?
Is facebook still written in php?
How to convert a string to lowercase in php?
Which function would you use to insert a record into a database in php?
Can we extend final class in php?