Hello, +1 on the array parameter. It's flexible, easy to document (as dan put it), and should accommodate future options.
Also, throwing E_NOTICES would be good to notify you if you mis-type something, and they can always be suppressed if you want to send an "unsupported" option. -- Best regards, Jason mailto:[EMAIL PROTECTED] DC> bool SetCookie( string $name, [string $value], [array $options]) DC> The $options array is an associative array which can contain DC> any combination of the following elements: DC> Max-Age integer blah blah DC> Comment string blah blah DC> etc... DC> Then provide a usage example. DC> --Dan -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php