Igbinary
Introduction
Igbinary is a drop in replacement for the standard PHP serializer. Instead of the time and space consuming textual representation used by PHP's serialize(), igbinary stores PHP data structures in a compact binary form. Memory savings are significant when using memcached, APCu, or similar memory based storages for serialized data. The typical reduction in storage requirements are around 50%. The exact percentage depends on the data.
- Installing/Configuring
- Igbinary Functions
- igbinary_serialize — Generates a compact, storable binary representation of a value
- igbinary_unserialize — Creates a PHP value from a stored representation from igbinary_serialize
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
