public static function unsetcookie(string $name, string $path='', string $domain='', bool $secure=false, bool $httponly=false) {

		if (! \headers_sent()) {
			\setcookie($name, false, -1, $path, $domain, $secure, $httponly);
			if (isset($_COOKIE[$name])) {
				unset($_COOKIE[$name]);
			}

			return true;
		}

		return false;
	}