|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-07-26 13:03 UTC] andrei@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 16:00:02 2025 UTC |
Description: ------------ The new method deleteMulti[ByKey] should return only valid result codes comparable with Memcached::RES_*. It makes it simpler to check the result and what was going on. For now it returns an array of result codes expect a successful deletion which returns a boolean true. Reproduce code: --------------- $rs = $m->deleteMulti(array('key1', 'key2', 'key3')); var_dump($rs); Expected result: ---------------- array( 'key1' => true, 'key2' => 16, 'key3' => true, } Actual result: -------------- array( 'key1' => 0, 'key2' => 16, 'key3' => 0, }