nerdexam
Zend

200-550 · Question #188

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

(38 responses)
  • A
    5% (2)
  • B
    13% (5)
  • C
    79% (30)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 200-550 Practice