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\Table::__constructSwoole\Table::create>
^Swoole\TableLast updated: Mon, 26 Oct 2026

Swoole\Table::count

(PECL swoole >= 1.9.0)

Swoole\Table::count — Count the rows in the table, or count all the elements in the table if $mode = 1.

Description

public function Swoole\Table::count(): int

Parameters

This function has no parameters.

Return Values


<Swoole\Table::__constructSwoole\Table::create>
^Swoole\TableLast updated: Mon, 26 Oct 2026