What is difference between $x and $$x
Answer Posted / psharma05
$x is a simple variable where $$x means value of $x becomes other variable.
eg.
$x="hello";
$$x="hi";
echo $hello;
output will be:
hi
Is This Answer Correct ? | 11 Yes | 5 No |
Post New Answer View All Answers
What happens if an expected input field was not submitted?
Please explain is it possible to use com component in php?
How cookies are transported from browsers to servers?
What is the main difference between php 4 and php 5?
What is new static in php?
How come the code works, but does not for two-dimensional array of mine?
What language is similar to php?
How to call javascript function in php without any event?
What is encapsulation in php with example?
Tell me how can we define a variable accessible in functions of a php script?
Tell me what is the difference between exception::getmessage and exception::getline?
How to concatenate two strings in php?
What is die in php?
What is the difference between fopen() and fclose()?
Which function would you use to replace a record in a database in php?