equal
deleted
inserted
replaced
206 { |
206 { |
207 switch ($type) |
207 switch ($type) |
208 { |
208 { |
209 case 'Cache': |
209 case 'Cache': |
210 // For backwards compatibility with old non-static |
210 // For backwards compatibility with old non-static |
211 // Cache::create() methods |
211 // Cache::create() methods in PHP < 8.0. |
|
212 // No longer supported as of PHP 8.0. |
212 if ($method === 'get_handler') |
213 if ($method === 'get_handler') |
213 { |
214 { |
214 $result = @call_user_func_array(array($class, 'create'), $parameters); |
215 $result = @call_user_func_array(array($class, 'create'), $parameters); |
215 return $result; |
216 return $result; |
216 } |
217 } |