use_soap_error_handler

(PHP 5, PHP 7)

use_soap_error_handlerSet whether to use the SOAP error handler

说锟斤拷

use_soap_error_handler ([ bool $handler = 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.

锟斤拷锟斤拷

handler

Set to TRUE to send error details to clients.

锟斤拷锟斤拷值

Returns the original value.

锟轿硷拷

  • set_error_handler() - 锟斤拷锟斤拷锟矫伙拷锟皆讹拷锟斤拷拇锟斤拷锟斤拷锟斤拷锟�
  • set_exception_handler() - 锟斤拷锟斤拷锟矫伙拷锟皆讹拷锟斤拷锟斤拷斐o拷锟斤拷锟斤拷锟�