If the variable $a is equal to 5 and variable $b is equal to
character a, what’s the value of $$b?
Can anyone explain how's the value of $$b=100
Answer Posted / php don
All guys who are saying ans is 100 are not good in programming.
The right answerer is 5 so guys don't put wrong answerers
and to the guys who are referring plz do check this code its
simple to find out by yourself then to believe this stupids
who say its reference and 100 actual answer is 5 and not 100
<?php
$a=5;
$b="a";
echo $$b;
?>
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
Is multiple inheritance supported in php?
What is the method to register a variable into a session?
What is the correct php command to use to catch any error messages within the code?
How to return a value back to the function caller?
How break and continue while loop in php?
How to remove all duplicate values in array in php?
Which is not a php magic constant?
What are the characteristics of php variables?
Which php global variable is used for uploading a file?
How is csrf token generated?
How to access a global variable inside a function?
Who created numbers?
How to terminate the execution of a script in PHP?
Why is php so popular?
What is the use of mysql_fetch_array in php?