use_soap_error_handler

(PHP 5, PHP 7, PHP 8)

use_soap_error_handlerSet whether to use the SOAP error handler

Descrição

use_soap_error_handler(bool $enable = true): bool

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 send error to the client as SOAP fault message.

Parâmetros

enable

Set to true to send error details to clients.

Valor Retornado

Returns the original value.

Veja Também

add a note add a note

User Contributed Notes 1 note

up
0
gs-design at yandex dot ru
9 years ago
"If FALSE, the standard PHP error handler is used. The default is to use the standard PHP error handler.",
but in declaration:
"bool use_soap_error_handler ([ bool $handler = true ] )".
So, what is the default value of $handler? And where is typo?
To Top