mongodb/mongo-php-driver — pull request #249 by bjori (2012-12-10 18:02:24+00:00)
Title: Fixed PHP-634: Mongo PHP v1.3 fails w/mongoDB 1.6

Oooold versions (1.6.x f.e.) of MongoDB do not include the
maxBsonObjectSize field in the ismaster response (or at all
for that matter). To support those versions we need to have an default
value, 4mb (better be safe then sorry here!) C# and other drivers
use the same value as their defaults.

Surprisingly enough, all the standalone tests pass just fine - with
the exception of reordered associative array keys, different error
messages, and missing features.

This *SHOULD* be merged into 1.3.2