nerdexam
Zend

200-710 · Question #209

How many elements does the array $pieces contain after the following piece of code has been executed? $pieces = explode("/", "", "//");

The correct answer is C. 4. See the full explanation below for the reasoning.

Question

How many elements does the array $pieces contain after the following piece of code has been executed? $pieces = explode("/", "", "//");

Options

  • A0
  • B3
  • C4
  • D5

How the community answered

(34 responses)
  • A
    3% (1)
  • B
    9% (3)
  • C
    85% (29)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice