<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.memcache.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'function.memcache-debug.php',
    1 => 'memcache_debug',
    2 => 'Turn debug output on/off',
  ),
  'up' => 
  array (
    0 => 'ref.memcache.php',
    1 => 'Memcache Funktionen',
  ),
  'prev' => 
  array (
    0 => 'ref.memcache.php',
    1 => 'Memcache Funktionen',
  ),
  'next' => 
  array (
    0 => 'book.memcached.php',
    1 => 'Memcached',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/memcache/functions/memcache-debug.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.memcache-debug" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">memcache_debug</h1>
  <p class="verinfo">(PECL memcache &gt;= 0.2.0)</p><p class="refpurpose"><span class="refname">memcache_debug</span> &mdash; <span class="dc-title">Turn debug output on/off</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.memcache-debug-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>memcache_debug</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span> <code class="parameter">$on_off</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>


  <p class="para rdfs-comment">
   <span class="function"><strong>memcache_debug()</strong></span> turns on debug output if parameter
   <code class="parameter">on_off</code> is equal to <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> and turns off if it&#039;s
   <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>.
   <blockquote class="note"><p><strong class="note">Hinweis</strong>: 
    <span class="simpara">
     <span class="function"><strong>memcache_debug()</strong></span> is accessible only if PHP was built
     with --enable-debug option and always returns <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> in this case.
     Otherwise, this function has no effect and always returns <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>.
    </span>
   </p></blockquote>
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-function.memcache-debug-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <dl>
   
    <dt><code class="parameter">on_off</code></dt>
    <dd>
     <span class="simpara">
      Turns debug output on if equals to <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>.
      Turns debug output off if equals to <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>.
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.memcache-debug-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="simpara">
   Returns <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> if PHP was built with --enable-debug option, otherwise
   returns <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>.
  </p>
 </div>


</div><?php manual_footer($setup); ?>