Cannot retrieve integer value correctly with php
Mon, 02/27/2012 - 02:56
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).
Thu, 03/22/2012 - 16:07
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
I have filed a bug here. An engineer will review the issue shortly.
http://www.couchbase.com/issues/browse/PCBC-50