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 / mr.kishore
<?php
$a=5;
$b='a';
$$b=100; // at this point $b='a' and when we use $ after
that '$$b becomes $a and we asign this value = 100 so $a
becomes 100;
echo $a;
| Is This Answer Correct ? | 6 Yes | 37 No |
Post New Answer View All Answers
What are soundex() and metaphone() functions in php?
What is the use of $_server and $_env?
What is the default session time in php?
Explain me what are the main error types in php and how do they differ?
Is set in php?
Tell me what is the actually used php version?
What is default session time and path in PHP. How to change it?
Explain a resource?
What are the final class and final method?
What is php mean?
What are the different ways to login to a remote server?
can you give me an example code of calling java script function in php variable using AJAX.or with out ajax??????
What are psrs? Choose 1 and briefly describe it?
Explain some of the php array functions?
What is an example of a variable?