PHP » GoLang |
login |
register |
about
|
is_soap_fault(PHP 5, PHP 7) is_soap_fault — Checks if a SOAP call has failed Description
This function is useful to check if the SOAP call failed, but
without using exceptions. To use it, create a
SoapClient object with the exceptions
option set to zero or If exceptions is not set then SOAP call will throw an exception on error. is_soap_fault() checks if the given parameter is a SoapFault object. Parameters
Return Values
This will return Examples
Example #1 is_soap_fault() example
<?php Example #2 SOAP's standard method for error reporting is exceptions
<?php See Also
|
more
Recently updated
more
Most requested
more
Last requests
|