We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f392b3c commit eabb210Copy full SHA for eabb210
lib/Zend/Cache/Backend.php
@@ -76,7 +76,7 @@ public function __construct(array $options = array())
76
public function setDirectives($directives)
77
{
78
if (!is_array($directives)) Zend_Cache::throwException('Directives parameter must be an array');
79
- while (list($name, $value) = each($directives)) {
+ foreach($directives as $name => $value) {
80
if (!is_string($name)) {
81
Zend_Cache::throwException("Incorrect option name : $name");
82
}
0 commit comments