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 / rakesh r

$a = 5
$b = 'a'
$$b = ?

$b value is a
so, $$b = $a = 5
hence, ans is 5

Is This Answer Correct ?    23 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why does php need server?

515


Explain Type juggling?

557


Does php 7 support mysql?

554


Explain me difference between mysql_connect and mysql_pconnect?

542


What is the advantage of runtime polymorphism?

498






When viewing an html page in a browser, the browser often keeps this page in its cache. What can be possible advantages/disadvantages of page caching? How can you prevent caching of a certain page (please give several alternate solutions)?

542


What does $globals means?

518


Explain what is memcache?

499


What is php trait?

512


What does the scope of variables means?

574


How do I update php?

566


Why do we use namespace in php?

455


What is http get and post?

524


Where can I find php ini file?

492


Explain php split() function.

532