|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2021-06-09 11:54 UTC] cmb@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: cmb
[2021-06-09 11:54 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 03:00:01 2025 UTC |
Description: ------------ 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('127.0.0.1', 11211); $m->set('test','Hello'); echo $m->get('test'); //Should output "Hello", this is working fine $m->delete('test',1); echo $m->get('test'); //Shouldn't output anything since the value should have been deleted. This is not working (ie, outputs, Hello) $m->delete('test',0); 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: ---------------- Hello Actual result: -------------- HelloHello