I’m trying out the atomic operations with PHP SDK 3. If I run the following code, the document is always incremented by 2 and not by 1.
$collection = $bucket->defaultCollection();
$res = $collection->binary()->increment(“testcounter”);
PHP couchbase extension version: 3.0.2
I’m using php7.3-fpm on nginx.