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 / rajkumar

<?php

//If the variable $a is equal to 5 and variable $b is equal
to character a, what’s the value of $$b?

$a =5;
$b=$a;
$c= $$b;
print_r($c);


?>


it will not display any answer so answer is wrong

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does php sessions work?

517


What is associative array in php?

532


Does empty check for null?

540


What is php pathinfo?

579


How do you execute a php script from the command line?

523






What is polymorphism with example in php?

511


How to include variables in double-quoted strings?

505


What is the difference between $argv and $argc? Give example?

504


Explain about looping in PHP?

599


How to insert a line break in php string?

544


What kind of variable is age?

598


Does apache use php?

538


How to invoke a user function?

547


Why and where do we use htaccess?

526


Can we use get instead of post?

494