Zend
200-530 · Question #78
After performing the following operations: $a = array('a', 'b', 'c'); $a = array_keys(array_flip($a)); What will be the value of $a?
The correct answer is C. array('a', 'b', 'c'). See the full explanation below for the reasoning.
Question
After performing the following operations: $a = array('a', 'b', 'c'); $a = array_keys(array_flip($a)); What will be the value of $a?
Options
- Aarray('c', 'b', 'a')
- Barray(2, 1, 0)
- Carray('a', 'b', 'c')
- DNone of the above
How the community answered
(56 responses)- A11% (6)
- B2% (1)
- C82% (46)
- D5% (3)
Community Discussion
No community discussion yet for this question.