[GIT-PULLS] [php-src] PR #22922: GH-22905: avoid truncation on null bytes in reflection exceptions

[email protected] (DanielEScherzer) Wed, 29 Jul 2026 17:22:15 +0000
Newsgroups php.git-pulls
Message-ID <[email protected]>
Pull Request: https://github.com/php/php-src/pull/22922
Author: DanielEScherzer

In addition to the fixes within the reflection extension, support for error strings with null bytes was added to `zend_throw_error()` and `zend_throw_exception_ex()`. The changes to `zend_throw_exception_ex()` are a partial backport of #16684.

Fixes #22905