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 |
How can you get web browser’s details using PHP?
Write a select query that will be displayed the duplicated site name and how many times it is duplicated?
Does php 7 support mysql?
can any one find and tell the difference between dot net and php which one is best ? which one we get more salary? which one is stable and which one is best for freshers and also better in future and carrer ? which one we wil get more salary sir ? please send ur valuable suggestions to kiranpulsar2007@gmail.com
How can i send a HTML file to mail account.
What is the difference between a session and cookies?
why header() gives the error like header already sent in php please explain in brief
Can you convert php to html?
Why do we use polymorphism in php?
tel me any 2 regular expressions with example
What is a static method php?
What is a php namespace?