nerdexam
Zend

200-550 · Question #168

200-550 Question #168: Real Exam Question with Answer & Explanation

The correct answer is A. bool(false). See the full explanation below for the reasoning.

Question

What will be the output value of the following code? $array = array(1,2,3); while (list(,$v) = each($array)); var_dump(current($array));

Options

  • Abool(false)
  • Bint(3)
  • Cint(1)
  • DNULL
  • EArray

Community Discussion

No community discussion yet for this question.

Full 200-550 Practice