igbinary

pecl install igbinary

igbinary extension

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. Savings are significant when using
memcached or similar memory based storages for serialized data.

Maintainer

  • Oleg Grenrus (lead )
  • Pierre Joye (lead )
  • Teddy Grenman (lead )
  • Tyson Andre (lead )
  • Tyson Andre (lead ) [inactive]

Details

Stars: 750
Issue openned: 19
Downloads: 7565222
3.2.7
2 years ago
Download DLL for processor with 64 bits architecture (x64)
PHP 8.1
Loading...
PHP 8.0
Loading...
PHP 7.4
Loading...
Download DLL for processor with 32 bits architecture (x86)
PHP 8.1
Loading...
PHP 8.0
Loading...
PHP 7.4
Loading...
Request a build
Request to the website owner's team the built this extension with this parameters. The result is not guaranteed and can be impossible for many reasons. The extension source code is frequently not upto date with the most recent PHP version.
If you have another code source for this extension, provide it in comment.
Please (or register) to request a build.
Version 3.2.7 change log


* Update test expectations for php 8.2.0-dev. Add `#[AllowDynamicProperties]` Attribute to some tests to avoid notices.
* In php 8.1+, make igbinary_unserialize check to see if an equivalent interned string already exists when unserializing object property names, array keys, and class names
and use that instead of creating a brand new string.
(This deliberately doesn't create a new interned string if one doesn't already exist.)
(Before this change, igbinary would deduplicate strings when serializing, but would not check if strings were interned by PHP itself when unserializing)
* Avoid debug build assertion failure for `HT_ASSERT_RC1` the same way as PHP's unserialize - this is a case where ostensibly there are no other references to the array being unserialized.

requires:

  • php >=7.0.0
  • pearinstaller >=1.4.0b1