nerdexam
Zend

200-550 · Question #78

What is the output of the following code? var_dump(boolval([]));

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

Question

What is the output of the following code? var_dump(boolval([]));

Options

  • Abool(true)
  • Bbool(false)

How the community answered

(61 responses)
  • A
    26% (16)
  • B
    74% (45)

Community Discussion

No community discussion yet for this question.

Full 200-550 Practice