Set whether to use the SOAP error handler

is_soap_fault
SoapClient
SOAP Functions
PHP Manual

# use_soap_error_handler

(Unknown)

use_soap_error_handler — Set whether to use the SOAP error handler

### Description

bool use_soap_error_handler ([ bool `$handler` ] )

This function sets whether or not to use the SOAP error handler in the SOAP server. It will return the previous value. If set to `TRUE`, details of errors in a SoapServer application will be sent to the clients. If `FALSE`, no information will be sent.

### Parameters

`handler`

  Set to `TRUE` to send error details to clients.

### Return Values

Returns `TRUE` on success or `FALSE` on failure.

### See Also

- set_error_handler() - Sets a user-defined error handler function
- set_exception_handler() - Sets a user-defined exception handler function

is_soap_fault
SoapClient
SOAP Functions
PHP Manual