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 / sandhya

If the $a is equal to 5 and $b is equal
to character a,so

$a=5;

$b="a";


$$b = $( $b ) = $ ( 'a' ) = $a = 5 ;

Of course Answer should be 5 !!

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is namespaces in PHP?

539


Explain about the data types in PHP?

545


What does type casting mean in php? Explain with an example?

537


Why do we use inheritance in php?

522


What is the goto statement useful for?

543






Write a query to find the 2nd highest salary of an employee from the employee table?

638


What is the purpose of php?

538


What is the main difference between php 4 and php 5?

523


What is framework in php?

469


What is the use of imagetypes() method?

528


What is the name of the scripting engine that powers PHP?

698


What are Routines?

1768


Tell me how a constant is defined in a php script?

470


How to run the interactive php shell from the command line interface?

519


How we get ip address of client, previous reference page etc?

550