php8.5
Home/ Manual/ swoole / channel/ Swoole\Channel::pop

Swoole\Channel::pop

PHP function Edit on GitHub ✎

(PECL swoole >= 1.9.0)

Read and pop data from swoole channel.

Description

Swoole\Channel::pop(): mixed

Parameters Parameters

Return Values

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

Source: reference/swoole/swoole/channel/pop.xml · from the official PHP manual (php/doc-en)