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
Tell me what is mean by an associative array?
How variables are passed through arguments?
What are the features of object-oriented programming in php?
When a conditional statement is ended with an endif?
Where do we use get and post?
What is the use of namespace in php?
How to get the number of characters in a string?
What is the output of the ucwords function in this example?
How does php session work?
Is it easy to learn php?
How do functions work?
What is the meaning of php?
What is htmlspecialchars?
what is session_set_save_handler in PHP?
What is variable give example?