Couchbase PHP client library

Create compatibility layer for flags in PHP