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 php easy language to learn?
What is form action php?
Explain PHP looping?
What is inheritance in php? How many types of inheritance supports php?
> symbol is used to redirect the output of a command. State Whether True or False?
What is difference between isset and empty in php?
What is difference between print_r and echo in php?
Why php is used with mysql?
How do you display the output directly to the browser?
I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what’s the problem?
Write a program to display table of a number using php?
What are headers in php?
What is difference between rest api and restful api?
Which function is used to read a single character from a file in PHP.
How to pad an array with the same value multiple times?