[Help] ask for an APC expert ~~~ How does APC retrieve all cached entries? If it is unclear what keys are included in the cached entries, is there a way to retrieve all the cached entries? For help, APC experts ~~~ ------ Solution ------------------ use iterator + regular expression to obtain all cache entries. the default value should be active rather than delete. PHPcode & lt ;? Phpfor ($ i0; $ I & lt [help] ask for help APC experts ~~~ How does APC retrieve all cached entries?
If it is unclear what keys are included in the cached entries, is there a way to retrieve all the cached entries?
For help, APC experts ~~~
------ Solution --------------------
Use iterator + regular expression to get all cache entries. the default value should be active rather than delete.
PHP code
Current () {echo "key: {$ rs ['key']}-> value: {$ rs ['value']}
"; $ Results-> next ();}/** key of the result of my test: pos_0-> value: test0key: pos_1-> value: test1key: pos_2-> value: test2key: pos_3-> value: test3key: pos_4-> value: test4key: pos_5-> value: test5key: pos_6-> value: test6key: pos_7-> value: test7key: pos_8-> value: test8key: pos_9-> value: test9 */?>