PHP - Manual: Swoole\Atomic::sub
2024-12-22
(PECL swoole >= 1.9.0)
Swoole\Atomic::sub — Subtract a number to the value of the atomic object.
$sub_value
= ?): intSubtract a number to the value of the atomic object.
sub_value
The value which will be subtracted to the current value.
The current value of the atomic object.