note 118664 added to function.apc-store
| From: | mys5droid at gmail dot com | Date: | Sat, 16 Jan 2016 05:59:56 +0000 |
| Subject: | note 118664 added to function.apc-store | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-204696@lists.php.net to get a copy of this message | ||
"Note APC version 3.1.3 there is a bug (http://pecl.php.net/bugs/bug.php?id=16814) that will
display a cache slam averted warning for all writes to a cache var that exists. Slam checking can be
disabled by setting apc.slam_defense = 0."
This is not a bug. Surprisingly, it has been assigned a bug id.It is obviously not a bug, because
there is a man-made error message, as well as a switch to turn off slam checking.
Think about it, would you release code which modifies core system files without warning? No, you
would make a warning for the user. Same is true with shared memory.
I happen to think it is a good feature, it tells you are overwriting something... And if you dislike
it, turn it off using that setting, or use an @ in front of the function calls...
----
Server IP: 72.52.91.14
Probable Submitter: 45.78.192.155
----
Manual Page -- http://php.net/manual/en/function.apc-store.php
Edit -- https://master.php.net/note/edit/118664
Del: integrated -- https://master.php.net/note/delete/118664/integrated
Del: useless -- https://master.php.net/note/delete/118664/useless
Del: bad code -- https://master.php.net/note/delete/118664/bad+code
Del: spam -- https://master.php.net/note/delete/118664/spam
Del: non-english -- https://master.php.net/note/delete/118664/non-english
Del: in docs -- https://master.php.net/note/delete/118664/in+docs
Del: other reasons-- https://master.php.net/note/delete/118664
Reject -- https://master.php.net/note/reject/118664
Search -- https://master.php.net/manage/user-notes.php