Bug #21231 [Com]: The each() function is deprecated in PHP7.2.
Edit report at https://pear.php.net/bugs/bug.php?id=21231&edit=1
ID: 21231
Comment by: ildar dot aim at gmail dot com
Reported By: ildar dot aim at gmail dot com
Summary: The each() function is deprecated in PHP7.2.
Status: Open
Type: Bug
Package: Cache_Lite
Package Version: 1.8.0
PHP Version: HEAD SVN-2017-07-26
Roadmap Versions:
New Comment:
possible fix is
foreach ($this->_memoryCachingArray as $key => $tmp) {break;} //take
only first
Previous Comments:
------------------------------------------------------------------------
[2017-07-26 06:49:45] ildar
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);
https://wiki.php.net/rfc/deprecations_php_7_2#each
http://php.net/each
------------------------------------------------------------------------
--
Edit this bug report at https://pear.php.net/bugs/bug.php?id=21231&edit=1
Thread (1 message)