mongodb/mongo-php-driver — pull request #434 by derickr (2013-05-07 15:11:47+00:00)
Title: Fixed PHP-774: Mark MongoCollection::toIndexString as deprecated.

For this to work, I also had to separate it out as otherwise our own
ensureIndex() would throw a deprecation warning.