Re: Re: setcookie() and Max-Age

php.internals

fabrice

22 years ago
Good new for this feature. I think array in arguments is not so good, for documentation + comprehension + syntax code Documentation approximate Syntax : bool SetCookie( string $name, [string $value], [array $array('Max-Age'=> int $max-age, ['Comment'=> string $comment],
> ['Path'=> relative||absolute path '/'] )] )
Also, I don't have any php function in mind, that use a "specific array" ( array $key fixed ) as argument.