What is difference between $x and $$x
Answer Posted / chinuku
$var is a variable and $$variable is a Reference or Dynamic
variable
ex:$var="test";
$test="php";
<?php
echo $var;
echo $$var;
?>
ans
$var=test;
$$var=php;
Is This Answer Correct ? | 22 Yes | 4 No |
Post New Answer View All Answers
Which variable declarations within a class is invalid in php?
What is php and why it is used?
Difference between get and post method.
How the web server interprets php and interacts with the client?
What is php form validation?
What is the difference between core php and php?
Tell us how can we access the data sent through the url with the post method?
How to update memcached when you make changes to php?
I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what is the problem?
How can you make a connection with mysql server using php?
What are the benefits of using php and mysql?
What is self in php?
What are the encryption functions available in PHP?
sort term descripttion form, report and uery
Why is facebook still using php?