3.1.2 递归导致的死循环BUG

浏览:791 发布日期:2015/07/16 分类:技术分享 关键字: 死循环 Cache CacheFile queue
版本3.1.2

ThinkPHP\Lib\Core\Cache.class.php 方法 queue($key)
......
if(count($value) > $this->options['length']) {
// 出列
$key=array_shift($value);
// 删除缓存
$this->rm($key);
if(APP_DEUBG) {
//调试模式下,记录出列次数
N($queue_name . '_out_times', 1, true);
/* 这个调用会导致死循环 */
}
}
-----

3.1.2
最佳答案
评论( 相关
后面还有条评论,点击查看>>