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 / birend gupta
<?php
$a=5;
$b='a';
echo $$b;
?>
Output : 5
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Is php session id unique?
How can a cross-site scripting attack be prevented by php?
iam mca post graduate in 2010 not getting job in JAVA so iam looking for carear in php as market demand is high so it is best option to try for php or not
How to take a substring from a given string?
What is the string concatenation operator in php?
How to remove duplicate values from a PHP Array?
What are php string functions?
How will you calculate days between two dates in PHP?
How to set session.gc_divisor properly?
Which software is best for php?
Explain some of the php array functions?
What are the advantages of stored procedures?
Does jwt protect against csrf?
Why do we need session?
What is the difference between $message and $$message in php?