Q. Which of the following is used to add an element at the beginning of an array?
β
Correct Answer: (A)
array_unshift()
Explanation: array_unshift() adds one or more elements to the beginning of an array.