qpop_front name size

从队列首部弹出一个或者多个元素.

参数

返回值

false on error. When size is not specified or less than 2, returns null if queue empty, otherwise the item removed. When size is specified and greater than or equal to 2, returns an array of elements removed.

示例