|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-03-07 21:17 UTC] shire@php.net
[2008-03-10 03:44 UTC] sebastian at 7val dot com
[2011-10-27 12:12 UTC] d dot h dot j dot takken at xs4all dot nl
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 16 09:00:02 2025 UTC |
Description: ------------ I'm using PHP Version 5.2.5, and upgraded to APC 3.0.16 with 'pecl install apc'. The following code worked with APC 3.0.14, but with the new version, apc_store's $ttl-parameter seems to be ignored. Reproduce code: --------------- <?php apc_store('test', 'asdf', $ttl = 1); echo var_export(apc_fetch('test'), true) . "\n"; sleep(2); echo var_export(apc_fetch('test'), true) . "\n"; ?> Expected result: ---------------- 'asdf' false Actual result: -------------- 'asdf' 'asdf'