diff --git a/src/Adapters/Apc.php b/src/Adapters/Apc.php index 15a5f87..8bff7bc 100644 --- a/src/Adapters/Apc.php +++ b/src/Adapters/Apc.php @@ -603,7 +603,7 @@ protected function apcu_fetch($key, &$success = null) if (is_array($key)) { $nums = array_filter($key, 'is_numeric'); if ($nums) { - $values = []; + $values = array(); foreach ($nums as $k) { $values[$k] = $this->apcu_fetch((string) $k, $success); } @@ -642,7 +642,7 @@ protected function apcu_store($key, $var, $ttl = 0) if (is_array($key)) { $nums = array_filter(array_keys($key), 'is_numeric'); if ($nums) { - $success = []; + $success = array(); $nums = array_intersect_key($key, array_fill_keys($nums, null)); foreach ($nums as $k => $v) { $success[$k] = $this->apcu_store((string) $k, $v, $ttl); diff --git a/src/Adapters/Couchbase.php b/src/Adapters/Couchbase.php index 4c9cbec..61764ee 100644 --- a/src/Adapters/Couchbase.php +++ b/src/Adapters/Couchbase.php @@ -126,7 +126,7 @@ public function setMulti(array $items, $expire = 0) // have to do those piecemeal $integers = array_filter(array_keys($items), 'is_int'); if ($integers) { - $success = []; + $success = array(); $integers = array_intersect_key($items, array_fill_keys($integers, null)); foreach ($integers as $k => $v) { $success[$k] = $this->set((string) $k, $v, $expire); diff --git a/src/Adapters/Memcached.php b/src/Adapters/Memcached.php index 94a6a84..0ecb5ea 100644 --- a/src/Adapters/Memcached.php +++ b/src/Adapters/Memcached.php @@ -419,7 +419,7 @@ protected function decode($key) */ protected function setMultiNumericItemsForHHVM(array $items, array $nums, $expire = 0) { - $success = []; + $success = array(); $nums = array_intersect_key($items, array_fill_keys($nums, null)); foreach ($nums as $k => $v) { $success[$k] = $this->set((string) $k, $v, $expire);