|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66626 memcached::delete Time parameter not working
Submitted: 2014-02-02 04:29 UTC Modified: 2021-06-09 11:54 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: lordi at msdi dot ca Assigned: cmb (profile)
Status: Closed Package: memcached (PECL)
PHP Version: 5.4.24 OS: FreeBSD 9.2
Private report: No CVE-ID: None
 [2014-02-02 04:29 UTC] lordi at msdi dot ca
The parameter int $time doesnt work if different from 0

Memcached reports error 38 with message: INVALID ARGUMENTS

Here are the versions I am running
libmemcached-1.0.7_1                =   up-to-date with port
memcached-1.4.17                    =   up-to-date with port
pecl-memcached-2.1.0                =   up-to-date with port

Test script:
$m = new Memcached();
$m->addServer('', 11211);

echo $m->get('test'); //Should output "Hello", this is working fine
echo $m->get('test'); //Shouldn't output anything since the value should have been deleted. This is not working (ie, outputs, Hello)
echo $m->get('test'); //Shouldn't output anything since the value should have been deleted. This is working since the parameter is not=0

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2021-06-09 11:54 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2021-06-09 11:54 UTC]
The memcached bug tracker is now on Github[1].  If this is still
an issue with the current memcached version, please report there.

[1] <>
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 30 18:01:33 2024 UTC