|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-01-30 15:02 UTC] mikael at synd dot info
[2008-02-05 08:59 UTC] erikg at codepoet dot no
[2008-02-05 15:03 UTC] mikael at synd dot info
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 21:00:02 2025 UTC |
Description: ------------ On 64-bit systems, keys with non-ascii characters aren't handled correctly. The following code returns false on 32-bit systems, but "value" on 64-bit systems. It seems like non-ascii characters are simply replaced with _. Reproduce code: --------------- $c = new MemCache(); $c->connect("localhost"); $c->flush(); $c->set("?", "value"); var_dump($c->get("?")); Expected result: ---------------- false Actual result: -------------- "value"