Thanks, @AV25242 ,
but I was looking for something global, not per operation.
I have found this in the doc (for Ruby SDK)
https://docs.couchbase.com/ruby-sdk/current/ref/client-settings.html
but for some reason doesn’t seem to work on PHP.
The documentation in the PHP is super basic and it does not seem to cover this part.
I started another thread about this here: https://www.couchbase.com/forums/t/lcb-err-unsupported-operation-214/27835 but I haven’t received an answer yet.