Q. Which PHP function removes the last element of an array?
β
Correct Answer: (B)
array_pop()
Explanation: array_pop() removes the last element of an array.