WordPress Question: Download Questions PDF
Suppose If the variable $a is equal to 5 and variable $b is equal to character a, what’s the value of $$b?
Answers:
Answer #1100, it’s a reference to existing variable.
Answer #25, $$b acts as a variable variable and would be the same as writing $a.
Answer #3$a=5; $b=\\"a\\";
echo $$b;
it will be 5 not 100;
echo $$b;
it will be 5 not 100;
Download WordPress (CMS) Interview Questions And Answers
PDF
Previous Question | Next Question |
What is the difference between accessing a class method via -> and via ::? | How to find out the number of parameters passed into function? |