|
static int | $xmlpc_double_precision = 128 |
| Number of decimal digits used to serialize Double values.
|
|
static string | $xmlrpc_datetime_format = '/^([0-9]{4})(0[1-9]|1[012])(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-4]):([0-5][0-9]):([0-5][0-9]|60)$/' |
| Used to validate received date values.
|
|
static string | $xmlrpc_defencoding = "UTF-8" |
| The charset encoding used by the server for received requests and by the client for received responses when received charset cannot be determined and mbstring extension is not enabled.
|
|
static string[] | $xmlrpc_detectencodings = array() |
| The list of preferred encodings used by the server for requests and by the client for responses to detect the charset of the received payload when.
|
|
static string | $xmlrpc_double_format = '/^[ t]*[-+]?[0-9]*::.?[0-9]+([eE][-+]?[0-9]+)?[ t]*$/' |
| Used to validate received double values.
|
|
static string | $xmlrpc_int_format = '/^[ t]*[+-]?[0-9]+[ t]*$/' |
| Used to validate received integer values.
|
|
static string | $xmlrpc_internalencoding = "UTF-8" |
| The encoding used internally by PHP.
|
|
static string | $xmlrpc_methodname_format = '|^[ t]*[a-zA-Z0-9_.:/]+[ t]*$|' |
| Used to validate received methodname values.
|
|
static bool | $xmlrpc_null_apache_encoding = false |
| Set to TRUE to enable encoding of php NULL values to <EX:NIL/> instead of <NIL>
|
|
static | $xmlrpc_null_apache_encoding_ns = "http://ws.apache.org/xmlrpc/namespaces/extensions" |
|
static bool | $xmlrpc_null_extension = false |
| Set to TRUE to enable correct decoding of <NIL> and <EX:NIL/> values.
|
|
static bool | $xmlrpc_reject_invalid_values = false |
| Set to TRUE to make the library reject incoming xml which uses invalid data for xml-rpc elements, such as base64 strings which can not be decoded, dateTime strings which do not represent a valid date, invalid bools, floats and integers, method names with forbidden characters, or struct members missing the value or name.
|
|
static bool | $xmlrpc_return_datetimes = false |
| Set to TRUE to make the library use DateTime objects instead of strings for all values parsed from incoming XML.
|
|
static bool | $xmlrpc_silence_deprecations = true |
| Set this to false to have a warning added to the log whenever user code uses a deprecated method/parameter/property.
|
|
static int[] | $xmlrpcerr |
|
static int | $xmlrpcerruser = 800 |
| Let user errors start at 800.
|
|
static int | $xmlrpcerrxml = 100 |
| Let XML parse errors start at 100.
|
|
static string | $xmlrpcName = "XML-RPC for PHP" |
|
static string[] | $xmlrpcstr |
|
static string | $xmlrpcVersion = "4.10.1" |
|
string PhpXmlRpc\PhpXmlRpc::$xmlrpc_methodname_format = '|^[ t]*[a-zA-Z0-9_.:/]+[ t]*$|' |
|
static |
Used to validate received methodname values.
According to the spec: "The string may only contain identifier characters, upper and lower-case A-Z, the numeric
characters, 0-9, underscore, dot, colon and slash". We keep in leading and trailing spaces for BC, even though they are forbidden by the spec. But what about "identifier characters"? Is that meant to be 'identifier characters: upper and lower-case A-Z, ...' or something else? If the latter, there is no consensus across programming languages about what is a valid identifier character. PHP has one of the most crazy definitions of what is a valid identifier character, allowing bytes in range x80-xff, without even specifying a character set (and then lowercasing anyway in some cases)...
bool PhpXmlRpc\PhpXmlRpc::$xmlrpc_return_datetimes = false |
|
static |
Set to TRUE to make the library use DateTime objects instead of strings for all values parsed from incoming XML.
NB: if the received strings are not parseable as dates, NULL will be returned. To prevent that, enable as well xmlrpc_reject_invalid_values
, so that invalid dates will be rejected by the library