|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2021-06-09 11:17 UTC] cmb@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: cmb
[2021-06-09 11:17 UTC] cmb@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 21 20:00:01 2025 UTC |
Description: ------------ Probably a little much asking for this, but I think it'll helps in consolidating multiple calls for differing types of value from memcached into one getMulti/getDelayed style call.. $keys = array( 'Key1' => function($value) { ... }, 'Key2' => function($value) { ... }, ); $memCached->get...($keys); Instead of having to $r = $this->cache->getMulti(array_keys($keys)); if (is_array($r)) foreach($r as $key => $value) $keys[$key]($value);