https://bugzilla.wikimedia.org/show_bug.cgi?id=56069

--- Comment #5 from Matthew Flaschen <[email protected]> ---
(In reply to comment #4)
> We should really file this as an upstream bug.

To where, phpredis?  I'm fine with that if it makes sense, but we should first
think a bit what the "right" thing is.  Note that strings are also serialized
currently ("s:3:\"123\";").

So if you simply serialize neither, you can no longer preserve the type info:

gettype( "3" ) vs. gettype( 3 )

That might be fine for some applications, but not always.  Or you could let
numbers be the only thing not serialized in SERIALIZER_PHP mode, but I'm not
100% positive that's best either.

And of course, if you don't serialize it all, it solves this, but if I
understand the phpredis code, your objects and arrays are now just "Object" and
"Array".

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to