buildBatchDeleteAfterDays($bucket, $keyDayPairs); list($ret, $err) = $bucketManager->batch($ops); if ($err != null) { var_dump($err); } else { var_dump($ret); }