[php-src] PR #25218: ext/openssl: Propagate session_get_cb exceptions unchanged
| From: | iliaal | Date: | Thu, 05 Nov 2026 17:25:55 +0000 |
| Subject: | [php-src] PR #25218: ext/openssl: Propagate session_get_cb exceptions unchanged | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-40331@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25218
Author: iliaal
An exception thrown by
session_get_cb left the call's return value undefined, and
the return type check reported it as a TypeError chained over the user's exception. Skip the
check for an undefined value, as the PSK callbacks already do, so the original exception reaches the
caller.