array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'swoole-atomic.set.php', 1 => 'Swoole\\Atomic::set', 2 => 'Set a new value to the atomic object.', ), 'up' => array ( 0 => 'class.swoole-atomic.php', 1 => 'Swoole\\Atomic', ), 'prev' => array ( 0 => 'swoole-atomic.get.php', 1 => 'Swoole\\Atomic::get', ), 'next' => array ( 0 => 'swoole-atomic.sub.php', 1 => 'Swoole\\Atomic::sub', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/swoole/swoole/atomic/set.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Swoole\Atomic::set

(PECL swoole >= 1.9.0)

Swoole\Atomic::setSet a new value to the atomic object.

Açıklama

public Swoole\Atomic::set(int $value): int

Set a new value to the atomic object.

Uyarı

Bu işlev hala belgelendirilmemiştir; sadece bağımsız değişken listesi mevcuttur.

Bağımsız Değişkenler

value

The value to set to the atomic object.

Dönen Değerler

The current value of the atomic object.