[php-src] PR #16386: Fix GH-16385: Unexpected null returned by session_set_cookie_params
| From: | nielsdos | Date: | Sat, 12 Oct 2024 08:28:40 +0000 |
| Subject: | [php-src] PR #16386: Fix GH-16385: Unexpected null returned by session_set_cookie_params | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-29176@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16386
Author: nielsdos
Two issues:
1) The check happened before ZPP checks
2) The
return; statement caused NULL to be returned while this
function can only return booleans. An exception seems not acceptable
in stable versions, but a warning may do.