PHP 8.5.0 Beta 1 available for testing

Voting

: nine plus zero?
(Example: nine)

The Note You're Voting On

Jerome Delamarche
20 years ago
The documentation lacks an example that shows how to send a fault in a response. Here is how to do it:

$args = array("faultCode" => $errcode, "faultString" => $errmsg);
$resp = xmlrpc_encode_request(NULL,$args);
//echo $resp;

<< Back to user notes page

To Top