<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Predefined Constants</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mongo.configuration.html">Runtime Configuration</a></div> <div class="next" style="text-align: right; float: right;"><a href="mongo.manual.html">Manual</a></div> <div class="up"><a href="book.mongo.html">Mongo</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="mongo.constants" class="appendix"> <h1>Predefined Constants</h1> <p class="simpara"> 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. </p> <p class="para"> <dl> <dt id="constant.mongo-streams"> <strong><code>MONGO_STREAMS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> Alias of <strong><code>MONGO_SUPPORTS_STREAMS</code></strong> </span> </dd> <dt id="constant.mongo-supports-streams"> <strong><code>MONGO_SUPPORTS_STREAMS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> 1 when compiled against PHP Streams (default since 1.4.0). </span> </dd> <dt id="constant.mongo-supports-ssl"> <strong><code>MONGO_SUPPORTS_SSL</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> 1 when <a href="book.openssl.html" class="xref">OpenSSL</a> is enabled and available. </span> </dd> <dt id="constant.mongo-supports-auth-mechanism-mongodb-cr"> <strong><code>MONGO_SUPPORTS_AUTH_MECHANISM_MONGODB_CR</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> 1 when MongoDB-Challenge/Reponse authentication is compiled in. </span> </dd> <dt id="constant.mongo-supports-auth-mechanism-mongodb-x509"> <strong><code>MONGO_SUPPORTS_AUTH_MECHANISM_MONGODB_X509</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> 1 when x.509 authentication is compiled in. </span> </dd> <dt id="constant.mongo-supports-auth-mechanism-gssapi"> <strong><code>MONGO_SUPPORTS_AUTH_MECHANISM_GSSAPI</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> 1 when GSSAPI authentication is compiled in. </span> </dd> <dt id="constant.mongo-supports-auth-mechanism-plain"> <strong><code>MONGO_SUPPORTS_AUTH_MECHANISM_PLAIN</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> 1 when PLAIN authentication is compiled in. </span> </dd> <dt id="constant.mongo-stream-notify-type-io-init"> <strong><code>MONGO_STREAM_NOTIFY_TYPE_IO_INIT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> </span> </dd> <dt id="constant.mongo-stream-notify-type-log"> <strong><code>MONGO_STREAM_NOTIFY_TYPE_LOG</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> </span> </dd> <dt id="constant.mongo-stream-notify-io-read"> <strong><code>MONGO_STREAM_NOTIFY_IO_READ</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> </span> </dd> <dt id="constant.mongo-stream-notify-io-write"> <strong><code>MONGO_STREAM_NOTIFY_IO_WRITE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> </span> </dd> <dt id="constant.mongo-stream-notify-io-progress"> <strong><code>MONGO_STREAM_NOTIFY_IO_PROGRESS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> </span> </dd> <dt id="constant.mongo-stream-notify-io-completed"> <strong><code>MONGO_STREAM_NOTIFY_IO_COMPLETED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> </span> </dd> <dt id="constant.mongo-stream-notify-log-insert"> <strong><code>MONGO_STREAM_NOTIFY_LOG_INSERT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> </span> </dd> <dt id="constant.mongo-stream-notify-log-query"> <strong><code>MONGO_STREAM_NOTIFY_LOG_QUERY</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> </span> </dd> <dt id="constant.mongo-stream-notify-log-update"> <strong><code>MONGO_STREAM_NOTIFY_LOG_UPDATE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> </span> </dd> <dt id="constant.mongo-stream-notify-log-delete"> <strong><code>MONGO_STREAM_NOTIFY_LOG_DELETE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> </span> </dd> <dt id="constant.mongo-stream-notify-log-getmore"> <strong><code>MONGO_STREAM_NOTIFY_LOG_GETMORE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> </span> </dd> <dt id="constant.mongo-stream-notify-log-killcursor"> <strong><code>MONGO_STREAM_NOTIFY_LOG_KILLCURSOR</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> </span> </dd> <dt id="constant.mongo-stream-notify-log-batchinsert"> <strong><code>MONGO_STREAM_NOTIFY_LOG_BATCHINSERT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> </span> </dd> <dt id="constant.mongo-stream-notify-log-response-header"> <strong><code>MONGO_STREAM_NOTIFY_LOG_RESPONSE_HEADER</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> </span> </dd> <dt id="constant.mongo-stream-notify-log-write-reply"> <strong><code>MONGO_STREAM_NOTIFY_LOG_WRITE_REPLY</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> </span> </dd> <dt id="constant.mongo-stream-notify-log-cmd-insert"> <strong><code>MONGO_STREAM_NOTIFY_LOG_CMD_INSERT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> </span> </dd> <dt id="constant.mongo-stream-notify-log-cmd-update"> <strong><code>MONGO_STREAM_NOTIFY_LOG_CMD_UPDATE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> </span> </dd> <dt id="constant.mongo-stream-notify-log-cmd-delete"> <strong><code>MONGO_STREAM_NOTIFY_LOG_CMD_DELETE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> </span> </dd> <dt id="constant.mongo-stream-notify-log-write-batch"> <strong><code>MONGO_STREAM_NOTIFY_LOG_WRITE_BATCH</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </dt> <dd> <span class="simpara"> </span> </dd> </dl> </p> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mongo.configuration.html">Runtime Configuration</a></div> <div class="next" style="text-align: right; float: right;"><a href="mongo.manual.html">Manual</a></div> <div class="up"><a href="book.mongo.html">Mongo</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>