1
0
mirror of https://github.com/php/php-src.git synced 2026-04-01 05:02:27 +02:00

ext/soap: SoapServer::getFunctions() does not need bailout handler wrapper

As this methods never uses the bailout mechanism
This commit is contained in:
Gina Peter Banyard
2024-06-16 00:38:42 +01:00
parent a99a790ad0
commit ce1bb1afa8

View File

@@ -1102,9 +1102,7 @@ PHP_METHOD(SoapServer, getFunctions)
RETURN_THROWS();
}
SOAP_SERVER_BEGIN_CODE();
FETCH_THIS_SERVICE(service);
FETCH_THIS_SERVICE_NO_BAILOUT(service);
array_init(return_value);
if (service->type == SOAP_OBJECT) {
@@ -1129,8 +1127,6 @@ PHP_METHOD(SoapServer, getFunctions)
}
} ZEND_HASH_FOREACH_END();
}
SOAP_SERVER_END_CODE();
}
/* }}} */