HI,

On Tue, Jul 25, 2017 at 2:33 AM, Andreas Treichel <gmb...@gmail.com> wrote:
> Hi Andrey,
>
>> 1. The wording here implies that these are the *only* attributes
>> allowed. In the interest of forward-compatibility, I'd allow arbitrary
>> attributes as well.
>
>
> I just try to implement something like this, to allow arbitrary attributes.
> Is this what you prefer?
>
> http_cookie_set('foobar', '1337', [
>     'foo' => 23,
>     'bar' => 42
> ]);
>
> Set-Cookie: foobar=1337; foo=23; bar=42
>

That is just what I had in mind, yes.

Cheers,
Andrey.

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

Reply via email to