nerdexam
Zend

200-530 · Question #216

What is the output of the following code? $first = "second"; $second = "first"; echo $$$first;

The correct answer is B. second. See the full explanation below for the reasoning.

Question

What is the output of the following code? $first = "second"; $second = "first"; echo $$$first;

Options

  • Afirst
  • Bsecond
  • Can empty string
  • Dan error

How the community answered

(33 responses)
  • A
    3% (1)
  • B
    73% (24)
  • C
    9% (3)
  • D
    15% (5)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice