pecl install openswoole-22.0.0 | composer require openswoole/core:22.1.2
Returns an integer of how many items are currently in the channel.
Gets the length of queue in the Channel.
$data = 'Hello World!';
$chan = new chan(1);
$pop = $chan->pop();