Runtime Configuration
Examples
Mongo
PHP Manual

# Predefined Constants

The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.

`Mongo::DEFAULT_HOST` (string)
  "localhost"
`Mongo::DEFAULT_PORT` (int)
  27017
`MongoDB::PROFILING_OFF` (int)
  Turn off database profiling
`MongoDB::PROFILING_SLOW` (int)
  Turn on database profiling for slow operations
`MongoDB::PROFILING_ON` (int)
  Turn on database profiling for all operations
`MongoUtil::LT` (string)
  Less than
`MongoUtil::LTE` (string)
  Less than or equal to
`MongoUtil::GT` (string)
  Greater than
`MongoUtil::GTE` (string)
  Greater than or equal to
`MongoUtil::IN` (string)
  In
`MongoUtil::NE` (string)
  Not equal
`MongoUtil::ASC` (int)
  Ascending
`MongoUtil::DESC` (int)
  Descending
`MongoUtil::BIN_ARRAY` (int)
  Default binary type: an array of bytes
`MongoUtil::BIN_UUID` (int)
  Universal unique id
`MongoUtil::BIN_MD5` (int)
  MD5 type
`MongoUtil::BIN_CUSTOM` (int)
  User-defined binary type

Runtime Configuration
Examples
Mongo
PHP Manual