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


Please Help Members By Posting Answers For Below Questions

How do you use end in python?

490


How to check a variable is an array or not in php?

512


What is the difference between myisam and innodb?

511


Can we use onclick in submit button?

540


What is xss and csrf?

522






When to use inquire vs enquire?

536


What are the difference between overloading and overriding in oops?

543


What is include in php?

546


Why php language is used?

528


Where to put php files in apache server?

507


What is the current stable version of php?

554


What is null value in php?

572


What is oops php?

530


Is it possible to extend the execution time of a php script?

499


Is key exist in array php?

540