php8.5
Home/ Manual/ swoole / atomic/ Swoole\Atomic::get

Swoole\Atomic::get

PHP function Edit on GitHub ✎

(PECL swoole >= 1.9.0)

Get the current value of the atomic object.

Description

Swoole\Atomic::get(): int

Get the current value of the atomic object.

Parameters Parameters

Return Values

The current value of the atomic object.

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