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
Is php 5 still supported?
How a constant is defined in a php script?
How to remove values saved in the current session?
What is full form of PHP?
What are the main error types in php and how do they differ?
Inside a php function, what param needs to be set in order to access a global variable?
Tell me how stop the execution of a php scrip?
What is the maximum size of a table in mysql?
What is the capacity of mysql database?
Are sessions stateless?
Are there regular expressions in php?
What are variables in research examples?
Does php has a future?
How to remove html tags from data in php?
What is php and features of php?