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
Is ruby on rails php?
Define metaphone()?
What does PEAR stands for?
Which function can be used to delete a file?
What are php data types?
What does php do?
How to find datatype of variable in php?
What is difference between mysql_fetch_array and mysql_fetch_assoc?
What is the difference between null and empty?
What is zend studio for?
Does php support multithreading?
Does php support multiple inheritance?
What is the meaning of ‘escaping to php’?
Are php variables global?
How to upload file in php?