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 is the use of $_server and $_env?
What percentage of websites use php?
What is whitespace in html?
What is nginx and what is it used for?
What are the benefits of using php?
What is session_register()?
Tell me how is it possible to parse a configuration file?
Are php variables global?
What is the output of the ucwords function in this example?
Is java is better than php?
In php how can you jump in to and out of "php mode"?
Why print_r is used in php?
Is salary fixed or variable cost?
Explain soundex() and metaphone().
How can you submit a form without a submit button?