|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #59103 All "*_info" functions should support an optional parameter "summaryonly"
Submitted: 2010-03-08 14:03 UTC Modified: 2010-03-15 02:33 UTC
From: Assigned:
Status: Closed Package: WinCache (PECL)
PHP Version: 5.2.13 OS: Windows 7
Private report: No CVE-ID: None
 [2010-03-08 14:03 UTC]
Some customers use the "*_info" functions to display the wincache statistics on the public site. This means that for every request a call is made to a "*_info" funciton and it results in a big array of entries returned back. This array is never used, but it consumes memory and processing time. It would be useful to add an optional parameter to the functions so that user can choose whether to return the individual cached entries or just the summary.

APC has this feature already:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-03-15 02:33 UTC] ksingla at microsoft dot com
This bug has been fixed in SVN.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on

In case this was a website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PECL better.

All info functions (wincache_ocache_fileinfo, wincache_fcache_fileinfo, wincache_rplist_fileinfo, wincache_ucache_info, wincache_scache_info) accept an optional boolean argument summaryonly which when true will make API only return summary.
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Jun 24 18:01:26 2019 UTC