diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 3448df4ea72..3176cfc9a0b 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -2819,6 +2819,7 @@ static void do_soap_call(zval* this_ptr, SOAP_GLOBAL(encoding) = old_encoding; SOAP_GLOBAL(sdl) = old_sdl; if (_bailout) { + _bailout = 0; zend_bailout(); } SOAP_CLIENT_END_CODE();