<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.memcached.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'memcached.decrementbykey.php',
    1 => 'Memcached::decrementByKey',
    2 => 'Decrement numeric item\'s value, stored on a specific server',
  ),
  'up' => 
  array (
    0 => 'class.memcached.php',
    1 => 'Memcached',
  ),
  'prev' => 
  array (
    0 => 'memcached.decrement.php',
    1 => 'Memcached::decrement',
  ),
  'next' => 
  array (
    0 => 'memcached.delete.php',
    1 => 'Memcached::delete',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/memcached/memcached/decrementbykey.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="memcached.decrementbykey" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Memcached::decrementByKey</h1>
  <p class="verinfo">(PECL memcached &gt;= 2.0.0)</p><p class="refpurpose"><span class="refname">Memcached::decrementByKey</span> &mdash; <span class="dc-title">Decrement numeric item&#039;s value, stored on a specific server</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-memcached.decrementbykey-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>Memcached::decrementByKey</strong></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$server_key</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$key</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$offset</code><span class="initializer"> = 1</span></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$initial_value</code><span class="initializer"> = 0</span></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$expiry</code><span class="initializer"> = 0</span></span><br>): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">
   <span class="function"><strong>Memcached::decrementByKey()</strong></span> decrements a numeric item&#039;s
   value by the specified <code class="parameter">offset</code>. If the item&#039;s value
   is not numeric, an error will result. If the operation
   would decrease the value below 0, the new value will be 0.
   <span class="function"><strong>Memcached::decrementByKey()</strong></span> will set the item to the
   <code class="parameter">initial_value</code> parameter if the key doesn&#039;t exist.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-memcached.decrementbykey-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">server_key</code></dt>
     <dd>
      <p class="para">
       Değerin depolanacağı veya geri
alınacağı sunucuyu tanımlayan anahtar. Hangi memcached sunucusuyla
konuşulacağına karar verirken, öğe için gerçek anahtar yerine, sunucu
anahtarına karıştırma uygulanır. Bu, çoklu işlemlerle verimlilik için
ilgili öğelerin tek bir sunucuda gruplanmasına izin verir.
      </p>
     </dd>
    
    
     <dt><code class="parameter">key</code></dt>
     <dd>
      <p class="para">
       The key of the item to decrement.
      </p>
     </dd>
    
    
     <dt><code class="parameter">offset</code></dt>
     <dd>
      <p class="para">
       The amount by which to decrement the item&#039;s value.
      </p>
     </dd>
    
    
     <dt><code class="parameter">initial_value</code></dt>
     <dd>
      <p class="para">
       The value to set the item to if it doesn&#039;t currently exist.
      </p>
     </dd>
    
    
     <dt><code class="parameter">expiry</code></dt>
     <dd>
      <p class="para">
       The expiry time to set on the item.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-memcached.decrementbykey-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   Returns item&#039;s new value on success başarısızlık durumunda <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> döner.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-memcached.decrementbykey-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="methodname"><a href="memcached.decrement.php" class="methodname" rel="rdfs-seeAlso">Memcached::decrement()</a> - Decrement numeric item's value</span></li>
    <li><span class="methodname"><a href="memcached.increment.php" class="methodname" rel="rdfs-seeAlso">Memcached::increment()</a> - Increment numeric item's value</span></li>
    <li><span class="methodname"><a href="memcached.incrementbykey.php" class="methodname" rel="rdfs-seeAlso">Memcached::incrementByKey()</a> - Increment numeric item's value, stored on a specific server</span></li>
   </ul>
  </p>
 </div>


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