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
How to specify argument default values?
What is $row in php?
Explain about a search-friendly site looks like?
How to Retrieve a Cookie Value?
Tell me how comparison of objects is done in php5?
What is $_ request in php?
What is difference between base_url and site_url?
What is php array function?
What is php resource type?
Explain some most commonly use string functions in php?
What is final class and final method?
Is php is dying?
How can I use single quotes in single quotes in php?
Where are php configuration settings stored?
Explain php explode() function.