array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'soapserver.fault.php', 1 => 'SoapServer::fault', ), 'up' => array ( 0 => 'class.soapserver.php', 1 => 'SoapServer', ), 'prev' => array ( 0 => 'soapserver.construct.php', 1 => 'SoapServer::__construct', ), 'next' => array ( 0 => 'soapserver.getfunctions.php', 1 => 'SoapServer::getFunctions', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/soap/soapserver/fault.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
SoapServer::fault — Issue SoapServer fault indicating an error
$code
,$string
,$actor
= "",$details
= null
,$name
= ""Sends a response to the client of the current request indicating an error.
Bilginize:
This can only be called when handling a request.
code
The error code to return
string
A brief description of the error
actor
A string identifying the actor that caused the fault.
details
More details of the fault
name
The name of the fault. This can be used to select a name from a WSDL file.
Hiçbir değer dönmez.