Hi! > The idea is to separate HTTP header handling functions. > > - header*() for any HTTP headers except 'Set-Cookie' > - cookie*() for only 'Set-Cookie' header
This does not look like a good design. First of all, HTTP spec allows multiple instances of any header. Second, making function with unobvious gotcha branch is usually bad design. Third, we are solving non-existing problem here - people should just use existing functions correctly and everything would be fine. Let's not spend any more time on this. -- Stas Malyshev smalys...@gmail.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php