diff --git a/UPGRADING b/UPGRADING index d9f9bdae562ac..dbad12b1b95e2 100644 --- a/UPGRADING +++ b/UPGRADING @@ -140,7 +140,8 @@ PHP 8.4 UPGRADE NOTES Checks using is_resource() (i.e. is_resource($soapClient->httpurl)) should be replaced with checks for null (i.e. $soapClient->httpurl !== null). . SoapClient::$sdl is now a Soap\Sdl object rather than a resource. - Value checks using is_resource() should be replaced with checks for `null`. + Checks using is_resource() (i.e. is_resource($soapClient->sdl)) should be + replaced with checks for null (i.e. $soapClient->sdl !== null). - SPL: . Out of bounds accesses in SplFixedArray now throw an exception of type diff --git a/ext/soap/php_soap.h b/ext/soap/php_soap.h index dce1c3e543432..3d9ccf330300a 100644 --- a/ext/soap/php_soap.h +++ b/ext/soap/php_soap.h @@ -265,7 +265,7 @@ static inline soap_url_object *soap_url_object_fetch(zend_object *obj) #define Z_SOAP_URL_P(zv) soap_url_object_fetch(Z_OBJ_P(zv)) -typedef struct { +typedef struct soap_sdl_object { sdl *sdl; zend_object std; } soap_sdl_object;