Changed db to zdb.
Fixed PHP-814: Passing in invalid MongoDB to MongoDBRef::get() segfaults.
Merged pull request #461