php8.5
Home/ Manual/ xmlrpc / functions/ xmlrpc_is_fault

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

arg

Array 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().

See Also

Source: reference/xmlrpc/functions/xmlrpc-is-fault.xml · from the official PHP manual (php/doc-en)