Hi!

> What about API clean up?
> Since we have setcookie()/setrawcookie() already, we may clean up
> current cookie API
> 
> e.g.
> - cookie_set/setcookie($name, [$value, [array $options]])
>   (Keep current signature also)
> - cookie_set_raw/setrawcookie($name, [$value, [array $options]])
>   (Keep current signature also)

These two already exist, and I see little value in changing their names
or introducing a slightly different form of it.

> - cookie_remove($name), cookie_list()
>   (These may be optional to you)

Isn't it the same as setcookie with empty value? But in general, I don't
have much objection to this.

-- 
Stas Malyshev
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to