HOME

Set whether to use the SOAP error handler
SOAP Functions
PHP Manual

use_soap_error_handler

(Unknown)

use_soap_error_handlerSet whether to use the SOAP error handler

Description

bool use_soap_error_handler ([ bool $handler = true ] )

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 client as a SOAP fault message. If FALSE, the standard PHP error handler is used. The default is to use the standard PHP error handler.

Parameters

handler

Set to TRUE to send error details to clients.

Return Values

Returns the original value.

See Also


SOAP Functions
PHP Manual