protected static property Redis_Client_Predis::$stupidCoreWorkaround in Redis 7.3
If the first cache get operation happens after the core autoloader has been registered to PHP, during our autoloader registration we will trigger it when calling class_exists(): core autoloader will then run cache_get() during autoloading but sadly this will run our autoloader registration once again. The second time we are called the circular dependency breaker will act and we will do nothing, ending up in a class instanciation attempt while the autoloader is still not loaded.
File
- lib/
Redis/ Client/ Predis.php, line 22
Class
- Redis_Client_Predis
- Predis client specific implementation.
Code
protected static $stupidCoreWorkaround = 0;