mongodb/mongo-php-driver — pull request #175 by bjori (2012-09-13 12:03:45+00:00)
Title: Php 464 connected var dump

We now have a flag to mongo_get_read_write_connection() to ask it not
to connect if it doesn't have any open connection.
Every time a user asks for the ->connected parameter we will call
mongo_get_read_write_connection() to see if we have a connection
available

This means we override the read_property handler, and the get_debug_info handler (for PHP5.3 and later)