Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<xmlrpc_get_typexmlrpc_parse_method_descriptions>
^XML-RPC FunctionsLast updated: Mon, 26 Oct 2026

xmlrpc_is_fault

(PHP 4 >= 4.3.0, PHP 5, PHP 7)

xmlrpc_is_fault — Determines if an array value represents an XMLRPC fault

Description

function xmlrpc_is_fault(array $arg): bool
Warning

This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.

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


<xmlrpc_get_typexmlrpc_parse_method_descriptions>
^XML-RPC FunctionsLast updated: Mon, 26 Oct 2026