(PHP 4 >= 4.3.0, PHP 5, PHP 7)
xmlrpc_is_fault — Determines if an array value represents an XMLRPC fault
xmlrpc_is_fault ( array $arg ) : bool
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.
arg
Array returned by xmlrpc_decode().
Returns true
if the argument means fault, false
otherwise. Fault description is available in $arg["faultString"]
, fault code is in $arg["faultCode"]
.
See example by xmlrpc_encode_request().
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.xmlrpc-is-fault.php