Zend
200-530 · Question #3650
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
(48 responses)- A8% (4)
- B4% (2)
- C73% (35)
- D15% (7)
Community Discussion
No community discussion yet for this question.