<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.quickhashintstringhash.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'quickhashintstringhash.delete.php',
    1 => 'QuickHashIntStringHash::delete',
    2 => 'This method deletes an entry from the hash',
  ),
  'up' => 
  array (
    0 => 'class.quickhashintstringhash.php',
    1 => 'QuickHashIntStringHash',
  ),
  'prev' => 
  array (
    0 => 'quickhashintstringhash.construct.php',
    1 => 'QuickHashIntStringHash::__construct',
  ),
  'next' => 
  array (
    0 => 'quickhashintstringhash.exists.php',
    1 => 'QuickHashIntStringHash::exists',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/quickhash/quickhashintstringhash/delete.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="quickhashintstringhash.delete" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">QuickHashIntStringHash::delete</h1>
  <p class="verinfo">(PECL quickhash &gt;= Unknown)</p><p class="refpurpose"><span class="refname">QuickHashIntStringHash::delete</span> &mdash; <span class="dc-title">This method deletes an entry from the hash</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-quickhashintstringhash.delete-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>QuickHashIntStringHash::delete</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$key</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="simpara">
   This method deletes an entry from the hash, and returns whether the entry was
   deleted or not. Associated memory structures will not be freed immediately,
   but rather when the hash itself is freed.
  </p>
  <p class="simpara">
   Elements can not be deleted when the hash is used in an iterator. The
   method will not throw an exception, but simply return <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> like would
   happen with any other deletion failure.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-quickhashintstringhash.delete-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <dl>
   
    <dt><code class="parameter">key</code></dt>
    <dd>
     <span class="simpara">
      The key of the entry to delete.
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-quickhashintstringhash.delete-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="simpara">
   <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> when the entry was deleted, and <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> if the entry was not deleted.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-quickhashintstringhash.delete-examples">
  <h3 class="title">Örnekler</h3>
  <div class="example" id="example-1">
   <p><strong>Örnek 1 <span class="function"><strong>QuickHashIntStringHash::delete()</strong></span> example</strong></p>
   <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />$hash </span><span style="color: #007700">= new </span><span style="color: #0000BB">QuickHashIntStringHash</span><span style="color: #007700">( </span><span style="color: #0000BB">1024 </span><span style="color: #007700">);<br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">( </span><span style="color: #0000BB">$hash</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">exists</span><span style="color: #007700">( </span><span style="color: #0000BB">4 </span><span style="color: #007700">) );<br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">( </span><span style="color: #0000BB">$hash</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">add</span><span style="color: #007700">( </span><span style="color: #0000BB">4</span><span style="color: #007700">, </span><span style="color: #DD0000">"five" </span><span style="color: #007700">) );<br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">( </span><span style="color: #0000BB">$hash</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">delete</span><span style="color: #007700">( </span><span style="color: #0000BB">4 </span><span style="color: #007700">) );<br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">( </span><span style="color: #0000BB">$hash</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">exists</span><span style="color: #007700">( </span><span style="color: #0000BB">4 </span><span style="color: #007700">) );<br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">( </span><span style="color: #0000BB">$hash</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">delete</span><span style="color: #007700">( </span><span style="color: #0000BB">4 </span><span style="color: #007700">) );<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
   </div>

   <div class="example-contents"><p>
Yukarıdaki örnek şuna benzer bir çıktı üretir:</p></div>
   <div class="example-contents screen">
<div class="examplescode"><pre class="examplescode">bool(false)
bool(true)
bool(true)
bool(false)
bool(false)</pre>
</div>
   </div>
  </div>
 </div>



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