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 / modi[achir communication]

<?
$a=5;
$b='a';
$$b=100;
$b is a simple variable and $$b is a reference variable that
means in memory $$b will be refer to $b. Suppose in memory
$b variable is in address 100 then $$b will be refer $b at
address 100 that means $$b will contain 100.
?>

Is This Answer Correct ?    11 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is super keyword in c++?

1006


What is php and its uses?

972


How does the identity operator === compare two values?

1168


What’s the special meaning of __sleep and __wakeup?

1023


What is the meaning of "enctype= multipart/form-data" ?

1127


Can you use php and javascript together?

1032


What is zend studio for?

1014


What is substr() in php? And how it is used?

1050


Php error constants and their descriptions

1187


How to select a database?

1027


What is mysql_fetch_object?

1054


What is the basic function to search files for lines (or other units of text) that contain a pattern.

996


What is implode() in php?

1091


How do I display php errors?

975


How to create a mysql connection in php?

985