Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Swoole\Channel::__destructSwoole\Channel::push>
^Swoole\ChannelLast updated: Mon, 26 Oct 2026

Swoole\Channel::pop

(PECL swoole >= 1.9.0)

Swoole\Channel::pop — Read and pop data from swoole channel.

Description

public function Swoole\Channel::pop(): mixed

Parameters

This function has no parameters.

Return Values

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


<Swoole\Channel::__destructSwoole\Channel::push>
^Swoole\ChannelLast updated: Mon, 26 Oct 2026