Typo on PHP SDK Doc


#1

Hi,

I didn’t know where to report it, so I’m just leaving it here!

On http://docs.couchbase.com/developer/php-2.0/bulk-operations.html, PHP syntax is incorrect.

$myBucket = $myCluster->openBucket();
$res = $myBucket.get(array('document_name_1', 'document_name_2'));
var_dump($res);

should be

$myBucket = $myCluster->openBucket();
$res = $myBucket->get(array(‘document_name_1’, ‘document_name_2’));
var_dump($res);

$myBucket.get to $myBucket->get


#2

hi @moon0326, thanks for spotting it! For future reference there actually is a link on the bottom right corner of the page to report issues with the doc, “Feedback on this page?” :wink:

I went ahead and created the corresponding issue for you : DOC-296

Simon


#3

Ha! I missed that.

Thank you for the link and issue! :smile:


#4

Thank you for letting us know about the error. It’s fixed now.

Amy