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 / php don

All guys who are saying ans is 100 are not good in programming.
The right answerer is 5 so guys don't put wrong answerers
and to the guys who are referring plz do check this code its
simple to find out by yourself then to believe this stupids
who say its reference and 100 actual answer is 5 and not 100
<?php
$a=5;
$b="a";
echo $$b;
?>

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is php easy language to learn?

1012


What is form action php?

972


Explain PHP looping?

968


What is inheritance in php? How many types of inheritance supports php?

948


> symbol is used to redirect the output of a command. State Whether True or False?

1105


What is difference between isset and empty in php?

952


What is difference between print_r and echo in php?

852


Why php is used with mysql?

977


How do you display the output directly to the browser?

867


I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what’s the problem?

888


Write a program to display table of a number using php?

883


What are headers in php?

912


What is difference between rest api and restful api?

921


Which function is used to read a single character from a file in PHP.

999


How to pad an array with the same value multiple times?

877