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
Does wordpress run on php 7?
What is meant by an associative array?
What are the different filter functions used to filter a variable?
What is magic quotes?
How to connect to a url in php?
What is the method to register a variable into a session?
What are magic methods?
Which function would you use to insert a record into a database in php?
What difference between require() and require_once()?
Do csrf tokens expire?
What are the difference between array_keys() and array_key_exists() in php?
how retrive the video file in php using video tag
What is the use of super-global arrays in php?
What is the function file_get_contents() usefull for?
What is the difference between php and cakephp?