Multiple choice php

Assuming all the variables a, b, c have already been defined, could this be a variable name: ${$a}[$b][$c] ?

  1. Yes

  2. No

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In PHP, ${$a} is a variable variable construct - the value of $a becomes the actual variable name. So if $a = 'test', then ${$a} becomes $test. The [$b][$c] then accesses array indices. This is valid PHP syntax for accessing multi-dimensional arrays using variable variables.