Constantes pré-définies

Ces constantes sont définies par cette extension, et ne sont disponibles que si cette extension a été compilée avec PHP, ou bien chargée au moment de l'exécution.

MONGO_STREAMS (integer)
Alias de MONGO_SUPPORTS_STREAMS
MONGO_SUPPORTS_STREAMS (integer)
Vaut 1 lorsque compilé avec les Flux PHP (PHP Streams) (par défaut depuis la version 1.4.0)
MONGO_SUPPORTS_SSL (integer)
Vaut 1 lorsque OpenSSL est activé et disponible.
MONGO_SUPPORTS_AUTH_MECHANISM_MONGODB_CR (integer)
Vaut 1 lorsque le mécanisme d'authentification par question réponse de MongoDB (MongoDB-Challenge/Reponse authentication) est compilé avec.
MONGO_SUPPORTS_AUTH_MECHANISM_MONGODB_X509 (integer)
Vaut 1 lorque le mécanisme d'authentification x.509 est compilé avec.
MONGO_SUPPORTS_AUTH_MECHANISM_GSSAPI (integer)
Vaut 1 lorsque le mécanisme d'authentification GSSAPI est compilé avec.
MONGO_SUPPORTS_AUTH_MECHANISM_PLAIN (integer)
Vaut 1 lorque le mécanisme d'authentification simple est compilé avec.
MONGO_STREAM_NOTIFY_TYPE_IO_INIT (integer)
MONGO_STREAM_NOTIFY_TYPE_LOG (integer)
MONGO_STREAM_NOTIFY_IO_READ (integer)
MONGO_STREAM_NOTIFY_IO_WRITE (integer)
MONGO_STREAM_NOTIFY_IO_PROGRESS (integer)
MONGO_STREAM_NOTIFY_IO_COMPLETED (integer)
MONGO_STREAM_NOTIFY_LOG_INSERT (integer)
MONGO_STREAM_NOTIFY_LOG_QUERY (integer)
MONGO_STREAM_NOTIFY_LOG_UPDATE (integer)
MONGO_STREAM_NOTIFY_LOG_DELETE (integer)
MONGO_STREAM_NOTIFY_LOG_GETMORE (integer)
MONGO_STREAM_NOTIFY_LOG_KILLCURSOR (integer)
MONGO_STREAM_NOTIFY_LOG_BATCHINSERT (integer)
MONGO_STREAM_NOTIFY_LOG_RESPONSE_HEADER (integer)
MONGO_STREAM_NOTIFY_LOG_WRITE_REPLY (integer)
MONGO_STREAM_NOTIFY_LOG_CMD_INSERT (integer)
MONGO_STREAM_NOTIFY_LOG_CMD_UPDATE (integer)
MONGO_STREAM_NOTIFY_LOG_CMD_DELETE (integer)
MONGO_STREAM_NOTIFY_LOG_WRITE_BATCH (integer)