Dutch PHP Conference 2027

定義済み定数

以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。

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.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top