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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
