nerdexam
Zend

200-530 · Question #36

Which of the following functions is used to insert a new element in the beginning of an array?

The correct answer is C. array_unshift(). See the full explanation below for the reasoning.

Question

Which of the following functions is used to insert a new element in the beginning of an array?

Options

  • Aarray_unique()
  • Barray_push()
  • Carray_unshift()
  • Darray_pop()

How the community answered

(34 responses)
  • A
    9% (3)
  • B
    3% (1)
  • C
    82% (28)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice