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

How to parse configuration file in php?

1033


What is an object in php?

1113


Which is best framework for php?

1033


What is the use of "enctype" attribute in a html form?

1040


What is c++ polymorphism?

974


What is difference between base_url and site_url?

1020


How many data types are used by php?

993


Which is better php praogramming or cad/cam scope wise and also salaray wise?

2017


What are traits?

1284


Tell me what is the importance of "action" attribute in a html form?

1114


What is php built on?

985


Explain me the difference between include and require?

936


Is php free to use?

1010


What is var_dump?

1022


What was the old name of php?

1413