-
-
Save lord-otori/8a08980573d47c22aecc to your computer and use it in GitHub Desktop.
Segmentation fault (core dumped)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
error_reporting(E_ALL); | |
require_once dirname(__FILE__) . '/../config/conf.inc.php'; | |
// | |
$cb = new Couchbase($couchbase['hosts'], $couchbase['user'], $couchbase['pass'], $couchbase['test_bucket']); | |
$docs = array(); | |
for ($x = 1; $x <= 1000; $x++) {//$x = 1-1000 | |
$docs[]['TEST_DOC::' . $x] = '{"a" : 1}'; | |
} | |
var_dump($cb->setMulti($docs)); | |
echo 'Returned: ' . $cb->getResultCode() . PHP_EOL; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment