|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #59115 add method Memcached::dump
Submitted: 2010-03-13 18:22 UTC Modified: 2012-03-07 17:27 UTC
From: marc-bennewitz at arcor dot de Assigned: andrei (profile)
Status: Closed Package: memcached (PECL)
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: marc-bennewitz at arcor dot de
New email:
PHP Version: OS:


 [2010-03-13 18:22 UTC] marc-bennewitz at arcor dot de
I noticed that libmemcached implemented a function to receive all keys of the servers named memcached_dump.

This would be very useful and could be implemented similar to APCIterator.

Reproduce code:
$flags = Memcached::DUMP_NONE // = 0
       | Memcached::DUMP_VALUE // receive data
       | Memcached::DUMP_MTIME // receive mtime
// ... possible flags

$rsSet = $memcached->dump($flags);
foreach ($rsSet as $key => $rs) {

Expected result:
object(MemcachedResultSet)#1 (0) {
string(7) "testKey"
array(2) {
  string(8) "testData"
// ...

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-07 17:27 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: andrei
 [2012-03-07 17:27 UTC]
Implemented as getAllKeys().
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 19 05:01:30 2024 UTC