History log of /PHP-8.4/ext/session/tests/gh16385.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# 7cdd1302 12-Oct-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-16385: Unexpected null returned by session_set_cookie_params

Two issues:
1) The check happened before ZPP checks
2) The `return;` statement caused NULL to be returned while th

Fix GH-16385: Unexpected null returned by session_set_cookie_params

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.

Closes GH-16386.

show more ...