Re: Should I document session_get_cookie_params => setcookie?
Karoly Negyesi <[email protected]>
| Newsgroups | gmane.comp.php.documentation.general |
|---|---|
| Message-ID | <CAOfzkkxZZt_=20Nx1g440akf_f-LqiwySekLkKQho__Xh2vrLg@mail.gmail.com> |
> Actually, setcookie() is not supposed to fail if there are spurious > elements in the options array; see e.g. <https://3v4l.org/h4dWr>. > 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