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 |
What is overloading and overriding in oop?
1.Where are the cookies storing ? 2.What is the drawback of using cookies ? 3. If two site is having same cookie name and different values what will be the output if we echo the cookie name from those sites ? How can we solve this issue (How can we specify the domain name)?
Does php use html?
What is $_ env in php?
What are the features of object-oriented programming in php?
Explain me what are the 3 scope levels available in php and how would you define them?
This is regarding file uploading. 1. Who will be the owner of the uploaded file ? 2. What permission you will give for an uploaded file ? 3. What is mean by user, group and others and what kind of permission you will give for each user and explain the reason?
How do I check if a given variable is empty?
What is php glob?
How do I run a php file?
What are the different ways to login to a remote server? Explain the me, advantages and disadvantages?
What is the difference between explode and split?