Bug Report #2108

Inconsistencies in cache drivers handling of "unset" keys..

Added by Kiall Mac Innes over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:09/14/2009
Priority:NormalDue date:
Assignee:Kiall Mac Innes% Done:


Target version:2.4
Resolution:fixed Points:


Cache::instance()->get(array('key1', 'key2', 'key-that-does-not-exist'));

should always return:

array('key1' => 'value1', 'key2' => 'value2' ,'key-that-does-not-exist' => NULL);


#1 Updated by Kiall Mac Innes over 5 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100
  • Resolution set to fixed

This should be fixed now - but not quite as shown above.

Cache::instance()->get(array('key1', 'key2', 'key-that-does-not-exist'));

will return

array('key1' => 'value1', 'key2' => 'value2')

Also available in: Atom PDF