Briefing Zend Knowledge

How can you put every sub-string into an array element easily?

You have a variable $test that contains sub-strings divided by a dash (“-“). How can you put every
sub-string into an array element easily?

A.
extract($test, “-“);

B.
explode(“-“, $test);

C.
to_array($test, “-“);

D.
explode($test, “-“);