This test fails with a weird segfault somewhere in the engine on PHP 5.2

Since its on PHP 5.2 which noone cares about anyway we stick our head in
the ground and pretend it doesn't exist
Merged pull request #504
Merge branch 'v1.4'

(No actually changes, done with --strategy=ours)
Fix type warning default_port in mongo_globals is now a long
Fix build with --disable-mongo-streams
Merged Pull Request #505

* pull-request/505:
  Fix build with --disable-mongo-streams
  Fix type warning default_port in mongo_globals is now a long
Move the node type discovery into the first ismaster call (get_server_flags)
Fixed PHP-392 and PHP-844

This is a regression introduced in 1.3.x.
Arbiters do not contain any data and we should not be trying to login to
them.
Merged Pull Request #506

* pull-request/506:
  Fixed PHP-392 and PHP-844
  Move the node type discovery into the first ismaster call (get_server_flags)
Merge branch 'v1.4'

* v1.4:
  Fixed PHP-392 and PHP-844
  Move the node type discovery into the first ismaster call (get_server_flags)

This code is however slighlty different in current master, so this merge is --strategy=ours
Move the node type discovery into the first ismaster call (get_server_flags)
Fixed PHP-392 and PHP-844

This is a regression introduced in 1.3.x.
Arbiters do not contain any data and we should not be trying to login to
them.
Merged Pull Request #507

* pull-request/507:
  Fixed PHP-392 and PHP-844
  Move the node type discovery into the first ismaster call (get_server_flags)
Fixed PHP-883: php_mongo_dbref_create() handling of MongoId values

If a MongoId or scalar is passed as the zid argument, it should be used as-is. Otherwise, assume the argument is a document and access its _id key/property if it is an array/object, respectively.
Fixed PHP-883: createDBRef() collection/DB method should omit $db

This restores original behavior, which was broken by 926d08d6965e88a07e2c9c0cd029484142a79c4e.
Rename ns parameter to collection for clarity

This parameter is the collection name, not the full namespace (i.e. db.collection).