[] APC experts ~ How does APC retrieve all cached entries?

Source: Internet
Author: User
Tags apc
[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 */?>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.