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

Implicit type conversion of array value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0.1
    • 2.0.0
    • library
    • Security Level: Public
    • None

    Description

      If you upsert(insert) an PHP array into bucket and retrieve it then the values aren't same.

      For example,

      $this->bucket->upsert('testdoc', array('name'=>'Frank'));
      $res = $this->bucket->get('testdoc');
      var_dump($res->value);

      (output)
      object(stdClass)#20 (1)

      { ["name"]=> string(5) "Frank" }

      README should be fixed also if this is intended behavior.

      Attachments

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

        Activity

          People

            brett19 Brett Lawson
            namenu Hyunwoo Nam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty