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

Does wordpress run on php 7?

1026


What is meant by an associative array?

1041


What are the different filter functions used to filter a variable?

1039


What is magic quotes?

1064


How to connect to a url in php?

1042


What is the method to register a variable into a session?

895


What are magic methods?

1017


Which function would you use to insert a record into a database in php?

1096


What difference between require() and require_once()?

1151


Do csrf tokens expire?

1053


What are the difference between array_keys() and array_key_exists() in php?

1124


how retrive the video file in php using video tag

1822


What is the use of super-global arrays in php?

1013


What is the function file_get_contents() usefull for?

1008


What is the difference between php and cakephp?

1048