略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: use_soap_error_handler

2024-11-13

use_soap_error_handler

(PHP 5, PHP 7, PHP 8)

use_soap_error_handlerSet whether to use the SOAP error handler

说明

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.

参数

enable

Set to true to send error details to clients.

返回值

Returns the original value.

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.use-soap-error-handler.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3