Join 2,000+ others and never miss out on new tips, tutorials, and more.
Latest version: pecl install openswoole-4.11.1
pecl install openswoole-4.11.1
<?php Swoole\Atomic\Long->cmpset ( int $cmp = 0, int $new = 0 )
The old value to compare with.
The new value
Compare and set the value of the atomic object. See more about Compare and set.