Which function in PHP is used to insert one array into another array at a specified position?
A. array_push()
B. array_insert()
C. array_merge()
D. array_splice()
Answer:D
Which function in PHP is used to insert one array into another array at a specified position?
A. array_push() B. array_insert() C. array_merge() D. array_splice()
Explanation: The array_splice() function removes selected elements from an array and replaces it with new elements and also returns the array with removed elements.