Q. Which PHP function returns the last element of an array without removing it?
β
Correct Answer: (A)
end()
Explanation: end() moves the internal pointer to the last element.