|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-03-05 02:19 UTC] kalle@php.net
[2010-03-05 02:24 UTC] rasmus@php.net
[2010-03-05 03:18 UTC] marc dot bennewitz at giata dot de
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 12:00:02 2025 UTC |
Description: ------------ Sometimes if the key has the "\0"-character within caching storing or reading of this item fails. Reproduce code: --------------- apc_store("\0", "test1"); var_dump(apc_exists("\0")); var_dump(apc_fetch("\0")); apc_store("-\0-", "test2"); var_dump(apc_exists("-\0-")); var_dump(apc_fetch("-\0-")); apc_store("-\1-", "test3"); var_dump(apc_exists("-\1-")); var_dump(apc_fetch("-\1-")); Expected result: ---------------- bool(true) string(5) "test1" bool(true) string(5) "test2" bool(true) string(5) "test3" Actual result: -------------- bool(true) string(5) "test1" NULL bool(false) bool(true) string(5) "test3"