History log of /php-src/ext/soap/tests/bugs/bug70875.phpt (Results 1 – 2 of 2)
Revision Date Author Comments
# e1b59e9e 15-Jun-2024 Gina Peter Banyard

ext/soap: Use more accurate return types in implementations of SoapClient::__doRequest()

The do_request() function that calls this methods, assumes that a string is being returned from the m

ext/soap: Use more accurate return types in implementations of SoapClient::__doRequest()

The do_request() function that calls this methods, assumes that a string is being returned from the method
otherwise it bails out.

However, the default implementation of SoapClient::__doRequest() indicates that it can return null when it
fails to set-up and execute the HTTP SOAP request, but this always results in a SoapFault exception being
thrown, and thus cannot happen in practice.

We need to investigate further if the return type should be changed from ?string to string or not.

show more ...


# a70fd538 27-May-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Move regression tests of SOAP to bugs directory (#14322)

There's a bugs directory but it wasn't always used, move the regression
tests to this directory.