Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 1.8.x

Cannot retrieve integer value correctly with php

2 replies [Last post]
  • Login or register to post comments
Mon, 02/27/2012 - 02:56
ismtlee
Offline
Joined: 10/12/2011
Groups: None

Here a test,

<?php
 
$cache = new Couchbase("10.80.10.247:8091", "root", "pass", "dev");
$cache->set('a', array());     //save an array first, even its length equals zero.
$cache->get('a');                 //retrieve the array.
 
$cache->set('b', 10);           //save an integer greater than 9.
var_dump($cache->get('b')); //the result is: int(100).

Top
  • Login or register to post comments
Fri, 03/02/2012 - 20:46
mikew
Offline
Joined: 03/14/2011
Groups:

I have filed a bug here. An engineer will review the issue shortly.

http://www.couchbase.com/issues/browse/PCBC-50

Top
  • Login or register to post comments
Thu, 03/22/2012 - 16:07
mssteuer
Offline
Joined: 03/20/2012
Groups: None

I'm experiencing a bunch of issues with integers that may be related... see

http://couchbase.com/issues/browse/PCBC-54
http://couchbase.com/issues/browse/PCBC-56

The integer issue is a critical bug that renders the extension almost useless to me... I can't trust the validity of the data that I get from couchbase.so

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker