xmlrpc_is_fault

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

xmlrpc_is_faultDetermines if an array value represents an XMLRPC fault

˵��

xmlrpc_is_fault ( array $arg ) : bool
Warning

�˺�����ʵ�����ġ��˺����ı��󣬰������Ƽ�������ĵ���������δ���� PHP �����汾��δ֪ͨ�ͱ��޸ġ�ʹ�ñ����������Ե� ��

����

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

�μ�

  • xmlrpc_decode() - �� XML ����Ϊ PHP ���������