<?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 => 'ru',
  ),
  'this' => 
  array (
    0 => 'function.memcache-debug.php',
    1 => 'memcache_debug',
    2 => 'Включить/выключить вывод отладочной информации',
  ),
  'up' => 
  array (
    0 => 'ref.memcache.php',
    1 => 'Функции Memcache',
  ),
  'prev' => 
  array (
    0 => 'ref.memcache.php',
    1 => 'Функции Memcache',
  ),
  'next' => 
  array (
    0 => 'book.memcached.php',
    1 => 'Memcached',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ru',
    '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">Включить/выключить вывод отладочной информации</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.memcache-debug-description">
  <h3 class="title">Описание</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> включает вывод отладочной информации, если
   <code class="parameter">on_off</code> установлен в <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> и выключает, если в <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>.
   <blockquote class="note"><p><strong class="note">Замечание</strong>: 
    <span class="simpara">
     Функция <span class="function"><strong>memcache_debug()</strong></span> доступна, только если PHP был собран
     с использованием опции --enable-debug и в этом случае всегда возвращает <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>.
     Иначе вызов этой функции ничего не делает и возвращает <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">Список параметров</h3>
  <dl>
   
    <dt><code class="parameter">on_off</code></dt>
    <dd>
     <span class="simpara">
      Включает вывод отладочной информации, если установлено в <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>.
      Выключает вывод отладочной информации, если установлено в <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">Возвращаемые значения</h3>
  <p class="simpara">
   Возвращает <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>, если PHP был собран с опцией --enable-debug, иначе - <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>.
  </p>
 </div>


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