<?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 => 'pt_BR',
  ),
  'this' => 
  array (
    0 => 'function.memcache-debug.php',
    1 => 'memcache_debug',
    2 => 'Liga/desliga a sa&iacute;da de depura&ccedil;&atilde;o',
  ),
  'up' => 
  array (
    0 => 'ref.memcache.php',
    1 => 'Fun&ccedil;&otilde;es de Memcache',
  ),
  'prev' => 
  array (
    0 => 'ref.memcache.php',
    1 => 'Fun&ccedil;&otilde;es de Memcache',
  ),
  'next' => 
  array (
    0 => 'book.memcached.php',
    1 => 'Memcached',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'pt_BR',
    '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">Liga/desliga a saída de depuração</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.memcache-debug-description">
  <h3 class="title">Descrição</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> ativa a saída de depuração se o parâmetro
   <code class="parameter">on_off</code> for igual a <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> e desativa se for
   <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>.
   <blockquote class="note"><p><strong class="note">Nota</strong>: 
    <span class="simpara">
     <span class="function"><strong>memcache_debug()</strong></span> é acessível somente se o PHP foi construído
     com a opção --enable-debug e sempre retorna <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> neste caso.
     Caso contrário, esta função não tem efeito e sempre retorna <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">Parâmetros</h3>
  <dl>
   
    <dt><code class="parameter">on_off</code></dt>
    <dd>
     <span class="simpara">
      Liga a saída de depuração se for igual a <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>.
      Desliga a saída de depuração se for igual a <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">Valor Retornado</h3>
  <p class="simpara">
   Retorna <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> se o PHP foi construído com a opção --enable-debug, caso contrário
   retorna <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>.
  </p>
 </div>


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