Chapter 8. Global variables
Prev |  | Next

## Chapter 8. Global variables

Many global variables are defined in the xmlrpc.inc file. Some of those are meant to be used as constants (and modifying their value might cause unpredictable behaviour), while some others can be modified in your php scripts to alter the behaviour of the xml-rpc client and server.

## "Constant" variables

### $xmlrpcerruser

`$xmlrpcerruser = 800;`The minimum value for errors reported by user implemented XML-RPC servers. Error numbers lower than that are reserved for library usage.

### $xmlrpcI4, $xmlrpcInt, $xmlrpcBoolean, $xmlrpcDouble, $xmlrpcString, $xmlrpcDateTime, $xmlrpcBase64, $xmlrpcArray, $xmlrpcStruct, $xmlrpcValue, $xmlrpcNull

For convenience the strings representing the XML-RPC types have been encoded as global variables:

    $xmlrpcI4="i4";
    $xmlrpcInt="int";
    $xmlrpcBoolean="boolean";
    $xmlrpcDouble="double";
    $xmlrpcString="string";
    $xmlrpcDateTime="dateTime.iso8601";
    $xmlrpcBase64="base64";
    $xmlrpcArray="array";
    $xmlrpcStruct="struct";
    $xmlrpcValue="undefined";
    $xmlrpcNull="null";

### $xmlrpcTypes, $xmlrpc_valid_parents, $xmlrpcerr, $xmlrpcstr, $xmlrpcerrxml, $xmlrpc_backslash, $_xh, $xml_iso88591_Entities, $xmlEntities, $xmlrpcs_capabilities

Reserved for internal usage.

Prev |  | Next
xmlrpc_server | Home | Variables whose value can be modified