nerdexam
Zend

200-550 · Question #3

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

  • A"first"
  • B"second"
  • Can empty string
  • Dan error

How the community answered

(44 responses)
  • A
    11% (5)
  • B
    80% (35)
  • C
    7% (3)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 200-550 Practice