h4kuna/serialize-polyfill

Provide methods for serialization and use igbinary if is available.

v0.1.0 2020-05-25 07:51 UTC

This package is auto-updated.

Last update: 2022-11-22 16:03:21 UTC


README

Downloads this Month Latest stable

In your project are available two new methods.

  • serialization()
  • deserialization()

If you enable igbinary, then use igbinary_(un)serialize otherwise (un)serialize.

It is support forward compatibility, if you cache data by old function serialize() and these data will be in cache and enable igbinary than function deserialization has mechanism use function unserialize().