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 delimiter default in PHP?
What does explode do in php?
What are php expressions?
Tell me what is the actually used php version?
Explain the different types of errors in php.
How check variable is set or not in php?
What is meant by pdo in php?
How to execute a php script from the command line?
How to stop the execution of php script?
Which function would you use to read a line of data from a file in php?
What is the use of die in php?
Tell me when a conditional statement is ended with an endif?
How is a session id generated?
Why php was called as personal home page?
Which variable declarations within a class is invalid in php?