Uploaded image for project: 'Couchbase PHP client library'
  1. Couchbase PHP client library
  2. PCBC-197

different parameter order for incremement

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • None
    • None
    • Security Level: Public
    • None

    Description

      From IRC:

      lachlan: can the latest php sdk (couchbase.so) still to be a drop in replacement for php memcached?
      [2:39pm] trondn: lachlan: it is supposed to be compatible, but the constructor/factory methods are named differently etc..
      [2:39pm] lachlan: reason I ask is the different order of parameters for increment() between memcached and couchbase sdk
      [2:39pm] lachlan: Memcached::increment ( string $key [, int $offset = 1 [, int $initial_value = 0 [, int $expiry = 0 ]]] )
      [2:39pm] lachlan: Couchbase - $object->increment($key [, $offset ] [, $create ] [, $expiry ] [, $initial ])
      [2:39pm] trondn: hmm.. I guess that's a bug...
      [2:40pm] trondn: let me file that one...
      [2:40pm]

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            brett19 Brett Lawson
            trond Trond Norbye
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty