(PECL mongo >=0.9.0)
Creates a collection
public MongoCollection MongoDB::createCollection ( string $name [, array $options ] )
This method is used to create capped collections and other collections requiring special options. It is identical to running:
<?php
$collection = $db->command(array(
"create" => $name,
"capped" => $options["capped"],
"size" => $options["size"],
"max" => $opti