GoLang xmlrpc_is_fault

request it (375)
GoLang replacement for PHP's xmlrpc_is_fault [edit | history]



Do you know a GoLang replacement for PHP's xmlrpc_is_fault? Write it!

PHP xmlrpc_is_fault

PHP original manual for xmlrpc_is_fault [ show | php.net ]

xmlrpc_is_fault

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

xmlrpc_is_faultDetermines if an array value represents an XMLRPC fault

Description

bool xmlrpc_is_fault ( array $arg )
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