Interviewer And Interviewee Guide

WordPress Support Officer Interview Question:

If variable $a is equal to 5 and variable $b is equal to character a, what's the value of $$b?

Submitted by: Administrator
Answer #1
100, it's a reference to existing variable.

Answer #2
5, $$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;
Submitted by:

Read Online WordPress Support Officer Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.