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

Swoole\Table::decr

(PECL swoole >= 1.9.0)

Swoole\Table::decr — Decrement the value in the Swoole table by $key and $column

Description

public function Swoole\Table::decr(string $key, string $column, int $decrby = ?): int

Parameters

key

Key of the data.

column

Specify the column name.

decrby

Decrement value.

Return Values


<Swoole\Table::currentSwoole\Table::del>
^Swoole\TableLast updated: Mon, 26 Oct 2026