Skip to content

Commit 81ccaac

Browse files
committed
ext/soap: SoapServer::getFunctions() does not need bailout handler wrapper
As this methods never uses the bailout mechanism
1 parent fd93d2c commit 81ccaac

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

ext/soap/soap.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1102,9 +1102,7 @@ PHP_METHOD(SoapServer, getFunctions)
11021102
RETURN_THROWS();
11031103
}
11041104

1105-
SOAP_SERVER_BEGIN_CODE();
1106-
1107-
FETCH_THIS_SERVICE(service);
1105+
FETCH_THIS_SERVICE_NO_BAILOUT(service);
11081106

11091107
array_init(return_value);
11101108
if (service->type == SOAP_OBJECT) {
@@ -1129,8 +1127,6 @@ PHP_METHOD(SoapServer, getFunctions)
11291127
}
11301128
} ZEND_HASH_FOREACH_END();
11311129
}
1132-
1133-
SOAP_SERVER_END_CODE();
11341130
}
11351131
/* }}} */
11361132

0 commit comments

Comments
 (0)