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

Given $a = 5;
$b = 'a';

So, $$b = $($b) = $a = 5

Simple, there is no concept of ASCII is applicable here....
For more Web Tech Info contact me.........Joydeep

Is This Answer Correct ?    79 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between php constants and variables?

513


Define object-oriented methodology?

575


What is mysql in php?

527


How to convert strings to numbers in php?

560


What are the ways to include file in php?

526






What is member variable?

556


How does cookies work in php?

529


What is the difference between $argv and $argc? Give example?

512


What is the difference between laravel and php?

506


What is the use of pear in php?

562


What is difference between print_r and echo in php?

500


How do you end a session in php?

556


List some features of php that are deprecated in php7?

473


What is basic php?

543


What is the sign to start variables in PHP?

592