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
Which character is used to match exactly one character?
How can we calculate the similarity between two strings?
Is it more secure to use cookies to trfer session ids?
Explain what are the three classes of errors that can occur in php?
Why is php so popular?
Is string php function?
What is static method php?
How to remove duplicate values from a PHP Array?
Can you define an argument as a reference type?
What is a php namespace?
How can you upload a file using php?
How to check your php installation?
What is singleton pattern in php?
What is the correct syntax of mail() function in php?
What does pear stand for?