nerdexam
Zend

200-530 · Question #95

After running this sort, what will be the value of $b? $a = array('_!', 'def', 0); $b = sort($a);

The correct answer is D. None of the above. See the full explanation below for the reasoning.

Question

After running this sort, what will be the value of $b? $a = array('_!', 'def', 0); $b = sort($a);

Options

  • Aarray(0, 'def', '_!')
  • Barray('_!', 0, 'def')
  • Carray('def', 0, '_!)
  • DNone of the above

How the community answered

(43 responses)
  • A
    5% (2)
  • B
    16% (7)
  • C
    5% (2)
  • D
    74% (32)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice