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

Why php 7 is faster?

520


How do you debug php?

566


What is a path Traversal?

561


Why do we use in php?

544


When you want to show some part of a text displayed on an html page in red font color? What different possibilities are there to do this? What are the advantages/disadvantages of these methods?

518






How will you calculate days between two dates in PHP?

545


Tell me how can we check the value of a given variable is alphanumeric?

497


What are the encryption functions available in PHP?

571


What are the 3 scope levels available in php and how would you define them?

514


What is meant by ‘passing the variable by value and reference' in php?

536


What language is php written in?

595


Explain about PHP filter and why it should be used?

561


What is php key?

515


What is the difference between php4 and php5?

573


What is strlen php?

547