nerdexam
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)
  • A
    11% (6)
  • B
    2% (1)
  • C
    82% (46)
  • D
    5% (3)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice