Home > PHP > Function > SOAP > use_soap_error_handler()

use_soap_error_handler()

use_soap_error_handler - Set whether to use the SOAP error handler

Syntax

bool use_soap_error_handler (bool $handler)

Arguments

  • handler - Set to TRUE to send error details to clients.

Description

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 SoapServerapplication will be sent to the clients. If FALSE, no information will be sent.

Version

PHP Unknown

Return value

Returns TRUE on success or FALSE on failure.