Öntanımlı Sabitler
PHP Manual
PHP Manual»Yac»Öntanımlı Sabitler

Öntanımlı Sabitler

Buradaki sabitler bu eklenti için tanımlanmış olup, sadece eklentinin PHP içinde derlenmiş olması veya çalışma anında dinamik olarak yüklenmesi halinde kullanılabilir.

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.

To Top