List of all possible SoapServer exceptions

Are any / all PHP SoapServer exceptions can be documented anywhere? (means the built-in embedded PHP implementation of SoapServer, not the third part of the implementation-based PHP)

If not, is it possible to extract possible exceptions using some kind of reflection? If so, where to start from?

Also, is it possible to examine the source of PHP to determine what exceptions an inline object may cause? If so, where to start from?

+6
source share
1 answer

The only exception specific to the SOAP extension is SoapFault .
There are two exceptions built into the language.
Other built-in exceptions are in the SPL .

As @Gordon pointed out, you can see the source at http://lxr.php.net/opengrok/xref/PHP_5_3/ext/soap/ . Find the exception in soap.c to run.

+2
source

Source: https://habr.com/ru/post/900738/


All Articles