|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2019-05-11 10:50 UTC] ariartwt at gmail dot com
Description: ------------ --- From manual page: https://php.net/apcuiterator.construct --- Passing in an array of PCRE regular expressions to the constructor of APCUIterator as first argument never return any result. Test script: --------------- <?php apcu_add("Test","data"); echo (new APCUIterator("/^Test$/"))->getTotalCount();// 1 echo (new APCUIterator(["Test"]))->getTotalCount();// 1 echo (new APCUIterator(["/^Test$/"]))->getTotalCount();// 0 -> should be 1 Expected result: ---------------- In my understanding of the documentation, we should be able to pass as first argument an array filled with regexp to find matching entries in apcu's stored keys. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 12:00:01 2025 UTC |
When I use new APCUIterator("/^prom:./")) init APCUIterator. I get an error 502, And my php version is 7.1.19 and APCU version is 5.1.17.