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
What is list in PHP?
how to track user logged out or not? when a user is idle?
List some string function name in php?
Tell me what is the difference between ereg_replace() and eregi_replace()?
How can you get the size of an image in PHP?
Which one is best framework for php?
Explain the difference between isset() and empty()?
What types of loops exist in php?
Can we embedded directly PHP code into XHTML document? State Whether True or False?
Explain php explode() function.
What are the popular frameworks in php?
Give the case where we can use get and we can use post methods?
Can you pass an array into a function?
Where is session value stored php?
Is PHP runs on different platforms (Windows, Linux, Unix, etc.)?