php8.5
Home/ Manual/ swoole / table/ Swoole\Table::decr

Swoole\Table::decr

PHP function Edit on GitHub ✎

(PECL swoole >= 1.9.0)

Decrement the value in the Swoole table by $key and $column

Description

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

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