Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...



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 / birend gupta

<?php
$a=5;
$b='a';
echo $$b;
?>

Output : 5

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does $_files means?

963


What is member function?

975


Explain PHP?

1007


How would you open a directory for reading in php?

956


What is php written in?

938


Why php is used with mysql?

975


Is php secure?

920


Where can I find php ini file?

908


How to download and install php on windows?

1084


How many ways to include variables in double-quoted strings in php?

1012


What is regular expression in javascript?

874


How to convert strings to numbers in php?

1054


Whether it is possible to share a single instance of a memcache between multiple php projects?

942


In how many ways we can retrieve the data in the result set of mysql using php?

882


What are the benefits of composer?

965