Queste costanti sono definite da questa estensione e sono disponibili solo se l'estensione è stata compilata nel PHP o se è stata caricata dinamicamente a runtime.
YAC_VERSION
(string)
The version of the extension as a string.
YAC_MAX_KEY_LEN
(int)
Maximum length of a key in bytes: 48. An instance prefix counts against this limit.
YAC_MAX_VALUE_RAW_LEN
(int)
Maximum length of a value before serialization, in bytes:
67,108,863 ((1 << 26) - 1). Larger values
are rejected.
YAC_MAX_RAW_COMPRESSED_LEN
(int)
Maximum size of a stored entry, in bytes: 1,048,576 (1M). Values that do not fit even after compression are rejected.
YAC_SERIALIZER_PHP
(int)
Use the PHP serialize format as serializer (the default).
YAC_SERIALIZER_JSON
(int)
Use JSON as the serializer. Requires the extension to be built with --enable-json.
YAC_SERIALIZER_IGBINARY
(int)
Use igbinary as the serializer. Requires the extension to be built with --enable-igbinary.
YAC_SERIALIZER_MSGPACK
(int)
Use msgpack as the serializer. Requires the extension to be built with --enable-msgpack.
YAC_SERIALIZER
(string)
The serializer currently used by the extension.