Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.8.3

Bug #21231 The each() function is deprecated in PHP7.2.
Submitted: 2017-07-26 10:49 UTC
From: ildar Assigned: ashnazg
Status: Closed Package: Cache_Lite (version 1.8.0)
PHP Version: HEAD SVN-2017-07-26 OS:
Roadmaps: (Not assigned)    
Comments Add Comment Add patch

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 48 - 30 = ?

 [2017-07-26 10:49 UTC] ildar (Ildar Amankulov)
Description: ------------ ./Cache_Lite-1.8.0/Cache/Lite/Function.php:87: while (list($name, $value) = each($options)) { ./Cache_Lite-1.8.0/Cache/Lite.php:711: list($key, ) = each($this->_memoryCachingArray);


 [2017-09-29 05:41 UTC] ildar (Ildar Amankulov)
possible fix is foreach ($this->_memoryCachingArray as $key => $tmp) {break;} //take only first
 [2018-02-13 13:14 UTC] ashnazg (Chuck Burgess)
-Assigned To: +Assigned To: ashnazg
 [2018-02-13 13:15 UTC] ashnazg (Chuck Burgess)
-Status: Assigned +Status: Closed
Fixed by PR #7.