Re: Should I document session_get_cookie_params => setcookie?
| From: | Karoly Negyesi | Date: | Tue, 02 Jun 2020 08:17:05 +0000 |
| Subject: | Re: Should I document session_get_cookie_params => setcookie? | ||
| References: | 1 2 3 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969387541@lists.php.net to get a copy of this message | ||
> Actually, setcookie() is not supposed to fail if there are spurious
> elements in the options array; see e.g. <https://3v4l.org/h4dWrŠŽj7«
> -)Âj.‹Ã>.
>
I did read the source code and while my C skills are beyond rusty I believe
thsi to be relevant:
https://github.com/php/php-src/blob/0563dfee1bd2d1a0924d0ca093be4042ea24f107/ext/standard/head.c#L213