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 / adesh suryan

Create new file and save it as .php extension and execute
this file then You find the answer of this question , copy
below code as:
<?php
$a=5;
echo $b=a.'<br/>';
echo $$b;
?>
output:
1.a
2.5

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is jquery better than javascript?

570


What does explode do in php?

560


What is the value for this auto incremented field user_pri_id?

508


What is the use of dual table in mysql?

524


What is the difference between exception::getmessage and exception::getline?

541






How to include variables in double-quoted strings?

513


What is php explain?

513


How to track user logged out or not? When user is idle?

516


How to get best php developer Experience in Php with Sugar CRM / VTiger.

3976


How to update memcached when you make changes to php?

546


How can you retrieve a cookie value?

552


What is the importance of "method" attribute in a html form?

552


Which is used to maintain the value of a variable over different pages?

575


Explain the differences between get and post methods?

502


What is the interface in php?

538