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 php session_start() and session_destroy() function?
How do I end a php session?
What is the difference between == and === operator in PHP?
What is call by reference in php?
What is mysqli_fetch_array?
What are the different loops in php?
What does odbc do in context with php?
What is the difference between array_map () and array_shift ()?
How to execute a php script from the command line?
Tell me what library is used for pdf in php?
Which is faster for or foreach?
What are the advantages of triggers?
What is $_ get in php?
What are hooks in php?
What type of comments are supported by PHP.