<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.strings.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'function.html-entity-decode.php',
    1 => 'html_entity_decode',
    2 => 'HTML &ouml;ğelerini karşılığı olan karakterlere d&ouml;n&uuml;şt&uuml;r&uuml;r',
  ),
  'up' => 
  array (
    0 => 'ref.strings.php',
    1 => 'Dizge İşlevleri',
  ),
  'prev' => 
  array (
    0 => 'function.hex2bin.php',
    1 => 'hex2bin',
  ),
  'next' => 
  array (
    0 => 'function.htmlentities.php',
    1 => 'htmlentities',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'tr',
    'path' => 'reference/strings/functions/html-entity-decode.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.html-entity-decode" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">html_entity_decode</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.3.0, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">html_entity_decode</span> &mdash; <span class="dc-title">HTML öğelerini karşılığı olan karakterlere dönüştürür
  </span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.html-entity-decode-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>html_entity_decode</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$dizge</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$seçenekler</code><span class="initializer"> = <strong><code><a href="string.constants.php#constant.ent-quotes">ENT_QUOTES</a></code></strong> | <strong><code><a href="string.constants.php#constant.ent-substitute">ENT_SUBSTITUTE</a></code></strong> | <strong><code><a href="string.constants.php#constant.ent-html401">ENT_HTML401</a></code></strong></span></span>, <span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.string.php" class="type string">string</a></span></span> <code class="parameter">$kodlama</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

  <p class="para rdfs-comment">
   <span class="function"><strong>html_entity_decode()</strong></span> işlevi
   <span class="function"><a href="function.htmlentities.php" class="function">htmlentities()</a></span> işlevinin tersine
   <code class="parameter">dizge</code> içinde karaktere dönüşebilecek tüm HTML
   öğelerini dönüştürür.
  </p>
  <p class="para">
   Daha kesin olarak, bu işlev, a) seçilen belge türü için zorunlu olarak
   geçerli olan tüm öğelerin (tüm sayısal öğeler dahil) kodunu çözer -
   yani, XML için, bu işlev bir DTD&#039;de tanımlanabilecek isimli öğelerin kodunu
   çözmez ve b) seçilen kodlama ile ilişkili kodlanmış karakter kümesindeki ve
   seçilen belge türünde izin verilen karakter öğelerinin kodunu çözer. Diğer
   tüm öğeler olduğu gibi bırakılır.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.html-entity-decode-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">dizge</code></dt>
     <dd>
      <p class="para">
       Girdi dizgesi.
      </p>
     </dd>
    
    
     <dt><code class="parameter">seçenekler</code></dt>
     <dd>
      <p class="para">
       Seçimlik <code class="parameter">seçenekler</code> bağımsız değişkeni ile çift ve
       tek tırnaklar için işlevin nasıl davranacağını belirleyebilirsiniz.
       <code class="literal">ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401</code> öntanımlı
       olmak üzere şu sabitler bitsel VEYAlanarak belirtilebilir:
       <table class="doctable table">
        <caption><strong>Olası sabit <code class="parameter">seçenekler</code>i</strong></caption>
        
         <thead>
          <tr>
           <th>Sabit İsmi</th>
           <th>Açıklama</th>
          </tr>

         </thead>

         <tbody class="tbody">
          <tr>
           <td><strong><code><a href="string.constants.php#constant.ent-compat">ENT_COMPAT</a></code></strong></td>
           <td>Sadece çift tırnaklar dönüştürülür, tek tırnaklara
           dokunulmaz.</td>
          </tr>

          <tr>
           <td><strong><code><a href="string.constants.php#constant.ent-quotes">ENT_QUOTES</a></code></strong></td>
           <td>Çift tırnaklara ilaveten tek tırnaklar da dönüştürülür.
           </td>
          </tr>

          <tr>
           <td><strong><code><a href="string.constants.php#constant.ent-noquotes">ENT_NOQUOTES</a></code></strong></td>
           <td>Ne tek ne de çift tırnaklar dönüştürülür.</td>
          </tr>

          <tr>
           <td><strong><code><a href="string.constants.php#constant.ent-substitute">ENT_SUBSTITUTE</a></code></strong></td>
           <td>
            Geçersiz kod dizilimi için boş bir dizge döndürülmeyip dizilimin
            yerine Unicode Değiştirme Karakteri (U+FFFD veya &amp;#FFFD;)
            yerleştirilir.
           </td>
          </tr>

          <tr>
           <td><strong><code><a href="string.constants.php#constant.ent-html401">ENT_HTML401</a></code></strong></td>
           <td>
            Kodu HTML 4.01 olarak ele alır.
           </td>
          </tr>

          <tr>
           <td><strong><code><a href="string.constants.php#constant.ent-xml1">ENT_XML1</a></code></strong></td>
           <td>
           Kodu XML 1 olarak ele alır.
           </td>
          </tr>

          <tr>
           <td><strong><code><a href="string.constants.php#constant.ent-xhtml">ENT_XHTML</a></code></strong></td>
           <td>
            Kodu XHTML olarak ele alır.
           </td>
          </tr>

          <tr>
           <td><strong><code><a href="string.constants.php#constant.ent-html5">ENT_HTML5</a></code></strong></td>
           <td>
            Kodu HTML 5 olarak ele alır.
           </td>
          </tr>

         </tbody>
        
       </table>

      </p>
     </dd>
    
    
     <dt><code class="parameter">kodlama</code></dt>
     <dd>
      <p class="para">Karakterleri dönüştürürken kullanılan
kodlamayı tanımlayan seçimlik bağımsız değişken.</p>
<p class="para">Belirtilmezse
<code class="parameter">kodlama</code> için
<a href="ini.core.php#ini.default-charset" class="link">default_charset</a> yapılandırma
seçeneğinin değeri öntanımlıdır.</p>
<p class="para">Bu bağımsız değişken teknik olarak
seçimlikse de kodunuz için gereken değeri atamanız gerekir. Çünkü
<a href="ini.core.php#ini.default-charset" class="link">default_charset</a> yapılandırma
seçeneğine hatalı bir değer atanmış olabilir.</p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.html-entity-decode-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   Kodlaması çözülmüş dizge.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.html-entity-decode-changelog">
  <h3 class="title">Sürüm Bilgisi</h3>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>Sürüm: </th>
       <th>Açıklama</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>8.1.0</td>
       <td>
        <code class="parameter">seçenekler</code> bağımsız değişkeninin öntanımlı değeri
        <strong><code><a href="string.constants.php#constant.ent-compat">ENT_COMPAT</a></code></strong> iken <strong><code><a href="string.constants.php#constant.ent-quotes">ENT_QUOTES</a></code></strong> |
        <strong><code><a href="string.constants.php#constant.ent-substitute">ENT_SUBSTITUTE</a></code></strong> | <strong><code><a href="string.constants.php#constant.ent-html401">ENT_HTML401</a></code></strong>
        oldu.
       </td>
      </tr>

      <tr>
       <td>8.0.0</td>
       <td>
        <code class="parameter">kodlama</code> artık <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> olabiliyor.
       </td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.html-entity-decode-examples">
  <h3 class="title">Örnekler</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>Örnek 1 - HTML öğelerinin karakterlere dönüştürülmesi</strong></p>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />$orig </span><span style="color: #007700">= </span><span style="color: #DD0000">"I'll \"walk\" the &lt;b&gt;dog&lt;/b&gt; now"</span><span style="color: #007700">;<br /><br /></span><span style="color: #0000BB">$a </span><span style="color: #007700">= </span><span style="color: #0000BB">htmlentities</span><span style="color: #007700">(</span><span style="color: #0000BB">$orig</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">$b </span><span style="color: #007700">= </span><span style="color: #0000BB">html_entity_decode</span><span style="color: #007700">(</span><span style="color: #0000BB">$a</span><span style="color: #007700">);<br /><br />echo </span><span style="color: #0000BB">$a</span><span style="color: #007700">; </span><span style="color: #FF8000">// I'll &amp;quot;walk&amp;quot; the &amp;lt;b&amp;gt;dog&amp;lt;/b&amp;gt; now<br /><br /></span><span style="color: #007700">echo </span><span style="color: #0000BB">$b</span><span style="color: #007700">; </span><span style="color: #FF8000">// I'll "walk" the &lt;b&gt;dog&lt;/b&gt; now<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
    </div>

   </div>
  </p>
 </div>


 <div class="refsect1 notes" id="refsect1-function.html-entity-decode-notes">
  <h3 class="title">Notlar</h3>
  <blockquote class="note"><p><strong class="note">Bilginize</strong>: 
   <p class="para">
    trim(html_entity_decode(&#039;&amp;nbsp;&#039;)); ile dizgenin neden boş bir dizgeye
    dönüşmediğini merak ediyor olabilirsiniz. Bunun sebebi &#039;&amp;nbsp;&#039;
    öğesinin karakter kodunun 32 değil 160 olmasıdır.
   </p>
  </p></blockquote>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.html-entity-decode-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.htmlentities.php" class="function" rel="rdfs-seeAlso">htmlentities()</a> - D&ouml;n&uuml;şt&uuml;r&uuml;lebilecek t&uuml;m karakterleri HTML &ouml;ğeleri haline getirir</span></li>
    <li><span class="function"><a href="function.htmlspecialchars.php" class="function" rel="rdfs-seeAlso">htmlspecialchars()</a> - &Ouml;zel karakterleri HTML &ouml;ğeleri haline getirir</span></li>
    <li><span class="function"><a href="function.get-html-translation-table.php" class="function" rel="rdfs-seeAlso">get_html_translation_table()</a> - htmlspecialchars ve
  htmlentities tarafından kullanılan d&ouml;n&uuml;ş&uuml;m tablosunu
  d&ouml;nd&uuml;r&uuml;r</span></li>
    <li><span class="function"><a href="function.urldecode.php" class="function" rel="rdfs-seeAlso">urldecode()</a> - URL kodlamalı dizgenin kodlamasını &ccedil;&ouml;zer</span></li>
   </ul>
  </p>
 </div>


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