PHP.nl

xmlrpc_is_fault

xmlrpc_is_fault

Determines if an array value represents an XMLRPC fault

bool **xmlrpc_is_fault** array $arg

arg Array returned by . xmlrpc_decode

Returns true if the argument means fault, false otherwise. Fault description is available in , fault code is in . $arg["faultString"]``$arg["faultCode"]

See example by . xmlrpc_encode_request

xmlrpc_decode