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
Do you know what is the function func_num_args() used for?
Explain preg_Match and preg_replace?
Does mysql need php?
Why is used in php?
What is php limit?
Why is php used for web development?
What are the Advantages and Application Areas of PHP?
What is reference variable php?
Does php support multiple inheritances?
What is the scope of a variable defined outside a function?
What is overriding in php?
How to protect special characters in query string?
Who is the father or inventor of php?
How do I expire a php session after 30 minutes?
What software is required to run php?