|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-01-19 13:34 UTC] andrei@php.net
[2010-01-19 13:50 UTC] marc dot bennewitz at giata dot de
[2010-01-19 14:01 UTC] andrei@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 22:00:01 2025 UTC |
Description: ------------ I miss a serializer option to disable serializing. If I only have string to serialize or would like to use an own serializer, a serializing by memcached isn't needed and makes stored data inconsistent. This needs to throw an excaption if someone wonts to store a non-string on a serializer disabled memcached object. Reproduce code: --------------- Example: usign same cache with PHP & Python $pythonSerializer = new PythonPickleSerializer(); $memcached->setOption(Memcached::OPT_SERIALIZER, Memcached::SERIALIZER_NONE): $memcached->set('id', $pythonSerializer->serialize($data)); Expected result: ---------------- Reading data with python. Actual result: -------------- Can't disable memcached build-in serializer and data will be serialized using one of the available serializer options.