xmlrpc_is_fault
PHP function
Edit on GitHub ✎
(PHP 4 >= 4.3.0, PHP 5, PHP 7)
Determines if an array value represents an XMLRPC fault
Description
xmlrpc_is_fault(array $arg): bool
Func
Parameters
argArray returned by
xmlrpc_decode().
Return Values
Returns true if the argument means fault, false otherwise. Fault description is available in $arg["faultString"], fault code is in $arg["faultCode"].
Examples
See example by xmlrpc_encode_request().