Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 9733

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!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="mysqlnd-memcache.configuration.html">Runtime Configuration</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.mysqlnd-memcache.html">Mysqlnd_memcache Functions</a></div>
 <div class="up"><a href="book.mysqlnd-memcache.html">mysqlnd_memcache</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="mysqlnd-memcache.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">
  <em class="emphasis">MySQL Memcache Plugin related</em>
 </p>
 <p class="para">
  <dl>

   <dt id="constant.mysqlnd-memcache-default-regexp">
    <span class="term">
     <strong><code>MYSQLND_MEMCACHE_DEFAULT_REGEXP</code></strong>
     (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>)
    </span>
    <dd>

     <span class="simpara">
      Default regular expression (PCRE style) used for matching <em>SELECT</em>
      statements that will be mapped into a MySQL Memcache Plugin access point, if possible.
     </span>
     <span class="simpara">
      It is also possible to use  <span class="function"><a href="function.mysqlnd-memcache-set.html" class="function">mysqlnd_memcache_set()</a></span>, but the default
      approach is using this regular expression for pattern matching.
     </span>
    </dd>

   </dt>

  </dl>

 </p>

 <p class="para">
  <em class="emphasis">Assorted</em>
 </p>
 <p class="para">
  The version number of this plugin can be obtained by using
  <strong><code>MYSQLND_MEMCACHE_VERSION</code></strong> or
  <strong><code>MYSQLND_MEMCACHE_VERSION_ID</code></strong>.
  <strong><code>MYSQLND_MEMCACHE_VERSION</code></strong>
  is the string representation of the numerical version number
  <strong><code>MYSQLND_MEMCACHE_VERSION_ID</code></strong>, which is an integer such as 10000.
  Developers can calculate the version number as follows.
 </p>
 <p class="para">
   <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Version (part)</th>
      <th>Example</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>Major*10000</td>
      <td>1*10000 = 10000</td>
     </tr>

     <tr>
      <td>Minor*100</td>
      <td>0*100 = 0</td>
     </tr>

     <tr>
      <td>Patch</td>
      <td>0 = 0</td>
     </tr>

     <tr>
      <td>MYSQLND_MEMCACHE_VERSION_ID</td>
      <td>10000</td>
     </tr>

    </tbody>
   
  </table>

 </p>
 <p class="para">
  <dl>

   <dt id="constant.mysqlnd-memcache-version">
    <span class="term">
     <strong><code>MYSQLND_MEMCACHE_VERSION</code></strong>
     (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>)
    </span>
    <dd>

     <span class="simpara">
      Plugin version string, for example, "<span class="quote">1.0.0-alpha</span>".
     </span>
    </dd>

   </dt>

   <dt id="constant.mysqlnd-memcache-version-id">
    <span class="term">
     <strong><code>MYSQLND_MEMCACHE_VERSION_ID</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </span>
    <dd>

     <span class="simpara">
      Plugin version number, for example, 10000.
     </span>
    </dd>

   </dt>

  </dl>

 </p>

</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="mysqlnd-memcache.configuration.html">Runtime Configuration</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.mysqlnd-memcache.html">Mysqlnd_memcache Functions</a></div>
 <div class="up"><a href="book.mysqlnd-memcache.html">mysqlnd_memcache</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>