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
What is the correct line to use within the php.ini file, to specify that 128mb would be the maximum amount of memory that a script may use?
How to make database connection in php?
How to remove white spaces from the beginning and/or the end of a string in php?
What is framework? How it works? What is advantage?
How to list all values of submitted fields?
What is whitespace in php?
What is difference between put and post method in http?
I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what is the problem?
What does sign mean php?
What is php regular expression?
Does php support multiple inheritance?
Explain about the connective abilities of the PHP?
Which have the fastest execution between mysql_fetch_array() and mysql_fetch_assoc()
Is php better than python?
What is data abstraction in php?