锟斤拷锟斤拷锟侥碉拷锟斤拷锟斤拷

锟斤拷锟斤拷锟斤拷锟角的硷拷锟斤拷锟斤拷锟斤拷101锟斤拷锟侥碉拷锟斤拷100锟斤拷循锟斤拷锟斤拷锟斤拷模锟斤拷锟斤拷锟揭伙拷锟绞硷拷锟揭伙拷锟斤拷锟斤拷锟斤拷锟斤拷强锟斤拷锟酵拷锟� MongoCollection::count() 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟�

<?php
$connection 
= new MongoClient();
$collection $connection->database->collectionName;

echo 
$collection->count();
?>
锟斤拷锟斤拷锟斤拷 101 锟斤拷