PHP使用redis缓存实现短链接功能,为什么不使用之前的mysql数据库了呢,redis的响应速度更快,环境部署更加方便。基于内存的操作,单线程多模式方式更加适合后期大访问量模式。...', 'l', 'm', 'n', 'o',
'p', 'q', 'r', 's', 't', 'u', 'v',
'w', 'x', 'y', 'z', '0'..., '1', '2',
'3', '4', '5', '6', '7', '8', '9'
];
$info = array_rand($data