Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #23615 [Cache] Handle serialization failures for Memcached (nicol…
…as-grekas) This PR was merged into the 3.3 branch. Discussion ---------- [Cache] Handle serialization failures for Memcached | Q | A | ------------- | --- | Branch? | 3.3 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Fixes two issues with serialization + memcached: with the memcached extension, the default serializer is automatically selected as igbinary when possible, native php otherwise. That creates obvious migration/portability issues (ie just installing igbinary wipes out the value of your cache.) Then, handling unserializing failures (esp. "php_incomplete_class") is a paramount feature of the component. You must be able to deal with migrating you code base without being blocked by some legacy serialized data. Commits ------- cccc88f [Cache] Handle unserialization failures for Memcached
- Loading branch information