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 is cURL in PHP?
What is the difference between session_unregister() and session_unset()?
How we can retrieve the data in the result set of mysql using php?
Is rent a variable cost?
What is $_ server request_method == post?
What is the function file_get_contents() useful for?
What is the best way to change the key without changing the value of a php array element?
I need to know about the courses which are useful in corporate companies.. especially php/mySQL, Java/j2ee, .NET.. also tell if any other courses are valuable
Is uploaded file php?
Which programming language does php resemble?
What is php in simple words?
Is php deprecated?
How do you use bcrypt for hashing passwords in php?
Where is php code written?
Write a select query that will be displayed the duplicated site name and how many times it is duplicated?