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 / adesh suryan

Create new file and save it as .php extension and execute
this file then You find the answer of this question , copy
below code as:
<?php
$a=5;
echo $b=a.'<br/>';
echo $$b;
?>
output:
1.a
2.5

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get the value of current session id?

528


What is the use of hooks?

520


What is __ invoke in php?

453


Is it possible to remove the html tags from data?

525


Which php framework is best?

534






How to pass variables and data from php to javascript?

501


How can we set and destroy the cookie in php?

486


What does PEAR stands for?

636


Explain what does the unset() function means?

568


Does cors prevent csrf?

522


How to get elements in reverse order of an array in php?

560


Does php need to be installed?

492


What software is required to run php?

538


What language is similar to php?

545


How can you retrieve a cookie value?

535