🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## lPop ##### *Description* Return and remove the first element of the list. 返回LIST顶部(左侧)的VALUE,并且从LIST中把该VALUE弹出。 ##### *Parameters* *key* ##### *Return value* *STRING* if command executed successfully *BOOL*`<span class="calibre12">FALSE</span>` in case of failure (empty list) 取得VALUE成功,返回TURE。如果是一个空LIST则返回FLASE。 ##### *Example* ``` <pre class="calibre9">$redis->rPush('key1', 'A'); $redis->rPush('key1', 'B'); $redis->rPush('key1', 'C'); /* key1 => [ 'A', 'B', 'C' ] */ $redis->lPop('key1'); /* key1 => [ 'B', 'C' ] */ ```