List Info

Thread: note 70822 added to function.apc-store




note 70822 added to function.apc-store
user name
2006-10-30 12:09:43
It should be noted that apc_store appears to only store one
level deep.  So if you have an array of arrays, and you
store it.  When you pull it back out with apc_fetch it will
only have the top level row of keys with nulls as the values
of each key. 
 
Solution to this, is to serialize the data before storing it
in the cache and unserialize it while retrieving from the
cache.
----
Server IP: 207.126.224.18
Probable Submitter: 10.80.40.44
----
Manual Page -- h
ttp://www.php.net/manual/en/function.apc-store.php
Edit        -- https://master
.php.net/note/edit/70822
Del: integrated  -- h
ttps://master.php.net/note/delete/70822/integrated
Del: useless     -- http
s://master.php.net/note/delete/70822/useless
Del: bad code    -- htt
ps://master.php.net/note/delete/70822/bad+code
Del: spam        -- https:/
/master.php.net/note/delete/70822/spam
Del: non-english -- 
https://master.php.net/note/delete/70822/non-english
Del: in docs     -- http
s://master.php.net/note/delete/70822/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/70822
Reject      -- https://mast
er.php.net/note/reject/70822
Search      -- https://
master.php.net/manage/user-notes.php

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

note 70822 added to function.apc-store
user name
2006-10-30 12:09:43
It should be noted that apc_store appears to only store one
level deep.  So if you have an array of arrays, and you
store it.  When you pull it back out with apc_fetch it will
only have the top level row of keys with nulls as the values
of each key. 
 
Solution to this, is to serialize the data before storing it
in the cache and unserialize it while retrieving from the
cache.
----
Server IP: 207.126.224.18
Probable Submitter: 10.80.40.44
----
Manual Page -- h
ttp://www.php.net/manual/en/function.apc-store.php
Edit        -- https://master
.php.net/note/edit/70822
Del: integrated  -- h
ttps://master.php.net/note/delete/70822/integrated
Del: useless     -- http
s://master.php.net/note/delete/70822/useless
Del: bad code    -- htt
ps://master.php.net/note/delete/70822/bad+code
Del: spam        -- https:/
/master.php.net/note/delete/70822/spam
Del: non-english -- 
https://master.php.net/note/delete/70822/non-english
Del: in docs     -- http
s://master.php.net/note/delete/70822/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/70822
Reject      -- https://mast
er.php.net/note/reject/70822
Search      -- https://
master.php.net/manage/user-notes.php

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )