mongodb/mongo-php-driver — pull request #481 by derickr (2013-06-12 18:23:37+00:00)
Title: Fixed PHP-807: Rewrite to_index_string to use smart_str and a real C function

I've also added some additional test cases.