[php-src] PR #21422: Fix GH-21421: SoapClient typemap property breaks engine assumptions
| From: | ndossche | Date: | Thu, 12 Mar 2026 18:27:19 +0000 |
| Subject: | [php-src] PR #21422: Fix GH-21421: SoapClient typemap property breaks engine assumptions | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-35181@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21422
Author: ndossche
The conversion away from resources introduced the contents of the typemap property, which internally
uses IS_PTR zvals. These should never be exposed because to userland they break engine assumptions.
To solve this, we hide this in an internal field. We also disable cloning in the process which is
broken in most cases because it doesn't clone internal data.
Perhaps this should only be applied to master to avoid any BC surprises, although that would've
been likely broken code anyway.