Zend
200-530 · Question #481
200-530 Question #481: Real Exam Question with Answer & Explanation
The correct answer is A. The elements of the array will be sorted and keys will not be preserved.. See the full explanation below for the reasoning.
Question
You passed an associative array to the sort() function. What will happen?
Options
- AThe elements of the array will be sorted and keys will not be preserved.
- BThe elements of the array will be sorted and the keys will not be sorted, however, they will be
- CThe key of the array will be sorted and the elements will not be sorted, however, they will be
- DThe keys will be sorted, however, elements will not be preserved
Community Discussion
No community discussion yet for this question.