|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-08-07 17:42 UTC] rasmus@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 20:00:01 2025 UTC |
Description: ------------ When I use "sleep", to wait until cache "fruit" to be invalidated, the cache still exists and contains the data. Reproduce code: --------------- <?php apc_clear_cache('user'); apc_store('fruit', 'grape', 1); sleep(3); $has = null; var_dump(apc_fetch('fruit', $has)); var_dump($has); Expected result: ---------------- Script output should be: NULL false Actual result: -------------- Be running this script i got: string 'grape' (length=5) boolean true