PHP SDK 2.0.3 documentation lacking

The PHP SDK 2.0.3 is working but is lacking examples and useful documentation.

I have been able to figure out the usual get/set and secondary index queries.

But I cannot decipher SDK timeout setting or replicate to for durability.

http://docs.couchbase.com/sdk-api/couchbase-php-client-2.0.3/classes/CouchbaseBucket.html#method_upsert

Looking at SDK source:

https://github.com/couchbaselabs/php-couchbase/blob/master/bucket.c#L1136

Anybody have more robust examples or links to better API documentation for PHP?

Oops, I forgot to be specific.

I am looking for 2 PHP examples:

A) How to use durability replicate_to for durability purposes
B) How to set the PHP client library timeout so if a server is dead, I can recover and move on to another server.

(If you have the same examples in GO, that would be great too)

Thanks all,

md