NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
## rPop ##### *Description* Returns and removes the last 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->rPop('key1'); /* key1 => [ 'A', 'B' ] */ ```