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

Tell us what is the difference between session_unregister() and session_unset()?

1004


What is a php session?

1052


Why php was called as personal home page?

972


Why is used in php?

960


Is php used anymore?

971


How to create a public static method in PHP?

1032


What is faster?

1012


What is difference between html and php?

927


Explain about PHP filter and why it should be used?

948


How to enable error reporting in php?

1063


Is php faster than python?

1032


How to get the http request in php?

993


What are the functions of string?

990


How to execute a php script from the command line?

1090


Is php still used?

952