Swoole\Channel
PHP Manual

Swoole\Channel::pop

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Channel::popRead and pop data from swoole channel.

说明

public mixed Swoole\Channel::pop ( void )

参数

此函数没有参数。

返回值

If the channel is empty, the function will return false, or return the unserialized data.


Swoole\Channel
PHP Manual