Skip autoloaders for APCIterator

We can skip autoloaders for this class as it is provided by
a C extension and will never come from userland code.
This commit is contained in:
mark_story 2014-06-22 21:22:00 -04:00
parent ffe811935c
commit 59c3b73f7a

View file

@ -125,7 +125,7 @@ class ApcEngine extends CacheEngine {
if ($check) { if ($check) {
return true; return true;
} }
if (class_exists('APCIterator')) { if (class_exists('APCIterator', false)) {
$iterator = new APCIterator( $iterator = new APCIterator(
'user', 'user',
'/^' . preg_quote($this->settings['prefix'], '/') . '/', '/^' . preg_quote($this->settings['prefix'], '/') . '/',