<?php
// Set the cookie value
setcookie('my_cookie', 'cookie_value', time() + 3600);
// Delete the cookie by setting its expiration time to the past
setcookie('my_cookie', '', time() - 3600);
?>my_cookie` and the value `cookie_value`, with an expiration time of one hour in the future (`time() + 3600`).time() - 3600`). When the browser receives this cookie, it will immediately expire and be deleted.