Q. Which function is used to delete a cookie in PHP?
β
Correct Answer: (C)
setcookie() with past expiry
Explanation: Cookies are deleted by setting their expiration date to a past time using setcookie().