<?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.get-html-translation-table.php',
    1 => 'get_html_translation_table',
    2 => 'htmlspecialchars ve
  htmlentities tarafından kullanılan d&ouml;n&uuml;ş&uuml;m tablosunu
  d&ouml;nd&uuml;r&uuml;r',
  ),
  'up' => 
  array (
    0 => 'ref.strings.php',
    1 => 'Dizge İşlevleri',
  ),
  'prev' => 
  array (
    0 => 'function.fprintf.php',
    1 => 'fprintf',
  ),
  'next' => 
  array (
    0 => 'function.hebrev.php',
    1 => 'hebrev',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'tr',
    'path' => 'reference/strings/functions/get-html-translation-table.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.get-html-translation-table" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">get_html_translation_table</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">get_html_translation_table</span> &mdash; <span class="dc-title"><span class="function"><a href="function.htmlspecialchars.php" class="function">htmlspecialchars()</a></span> ve
  <span class="function"><a href="function.htmlentities.php" class="function">htmlentities()</a></span> tarafından kullanılan dönüşüm tablosunu
  döndürür</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.get-html-translation-table-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>get_html_translation_table</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$tablo</code><span class="initializer"> = <strong><code><a href="string.constants.php#constant.html-specialchars">HTML_SPECIALCHARS</a></code></strong></span></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"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$kodlama</code><span class="initializer"> = &quot;UTF-8&quot;</span></span>): <span class="type"><a href="language.types.array.php" class="type array">array</a></span></div>

  <p class="para rdfs-comment">
   <span class="function"><strong>get_html_translation_table()</strong></span> işlevi,
   <span class="function"><a href="function.htmlspecialchars.php" class="function">htmlspecialchars()</a></span> ve <span class="function"><a href="function.htmlentities.php" class="function">htmlentities()</a></span>
   tarafından kullanılan dahili dönüşüm tablosunu döndürür.
  </p>
  <blockquote class="note"><p><strong class="note">Bilginize</strong>: 
   <p class="para">
    Özel karakterler çeşitli yollarla kodlanabilir. Örneğin &quot; karakteri
    <code class="literal">&amp;quot;</code>,  <code class="literal">&amp;#34;</code> veya
    <code class="literal">&amp;#x22</code> olarak kodlanabilir.
    <span class="function"><strong>get_html_translation_table()</strong></span> işlevi sadece
    <span class="function"><a href="function.htmlspecialchars.php" class="function">htmlspecialchars()</a></span> ve <span class="function"><a href="function.htmlentities.php" class="function">htmlentities()</a></span>
    tarafından kullanılan biçimi döndürür.
   </p>
  </p></blockquote>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.get-html-translation-table-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">tablo</code></dt>
     <dd>
      <p class="para">
       Hangi tabloyu istediğinizi <strong><code><a href="string.constants.php#constant.html-entities">HTML_ENTITIES</a></code></strong> ve
       <strong><code><a href="string.constants.php#constant.html-specialchars">HTML_SPECIALCHARS</a></code></strong> sabitlerinden biri ile
       belirtebilirsiniz. <strong><code><a href="string.constants.php#constant.html-specialchars">HTML_SPECIALCHARS</a></code></strong> öntanımlıdır.
      </p>
     </dd>
    
    
     <dt><code class="parameter">seçenekler</code></dt>
     <dd>
      <p class="para">
       Tablonun hangi tırnak işaretlerini içereceğini ve tablonun hangi belge
       türü için olduğunu belirten aşağıdaki seçeneklerin bir veya daha
       fazlasının bit maskesi. <code class="literal">ENT_QUOTES | ENT_SUBSTITUTE |
       ENT_HTML401</code> öntanımlıdır.
       <table class="doctable table">
        <caption><strong>Kullanılabilen <code class="parameter">seçenekler</code>in
         sabitleri</strong></caption>
        
         <thead>
          <tr>
           <th>Sabit Adı</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>Tablo çift tırnaklı öğeleri içerir,
            tek tırnaklıları değil.</td>
          </tr>

          <tr>
           <td><strong><code><a href="string.constants.php#constant.ent-quotes">ENT_QUOTES</a></code></strong></td>
           <td>Tablo hem çift tırnaklı hem de tek tırnaklı öğeleri içerir.
           </td>
          </tr>

          <tr>
           <td><strong><code><a href="string.constants.php#constant.ent-noquotes">ENT_NOQUOTES</a></code></strong></td>
           <td>Tablo ne çift tırnaklı ne de tek tırnaklı öğeleri içerir.
           </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>Tablo HTML 4.01 içindir.</td>
          </tr>

          <tr>
           <td><strong><code><a href="string.constants.php#constant.ent-xml1">ENT_XML1</a></code></strong></td>
           <td>Tablo XML 1 içindir.</td>
          </tr>

          <tr>
           <td><strong><code><a href="string.constants.php#constant.ent-xhtml">ENT_XHTML</a></code></strong></td>
           <td>Tablo XHTML içindir.</td>
          </tr>

          <tr>
           <td><strong><code><a href="string.constants.php#constant.ent-html5">ENT_HTML5</a></code></strong></td>
           <td>Tablo HTML 5 içindir.</td>
          </tr>

         </tbody>
        
       </table>

      </p>
     </dd>
    
    
     <dt><code class="parameter">kodlama</code></dt>
     <dd>
      <p class="para">
       Kullanılacak kodlama.
       Belirtilmezse, UTF-8 öntanımlıdır.
      </p>
      


<p class="para">
 Aşağıdaki karakter kümeleri desteklenmektedir.
 <table class="doctable table">
  <caption><strong>Desteklenen karakter kümeleri</strong></caption>
  
   <thead>
    <tr>
     <th>Karakter kümesi</th>
     <th>Takma adı</th>
     <th>Açıklama</th>
    </tr>

   </thead>

   <tbody class="tbody">
    <tr>
     <td>ISO-8859-1</td>
     <td>ISO8859-1</td>
     <td>
      Batı Avrupa, Latin-1
     </td>
    </tr>

    <tr>
     <td>ISO-8859-5</td>
     <td>ISO8859-5</td>
     <td>
      Az kullanılan kril küme (Latin/Cyrillic).
     </td>
    </tr>

    <tr>
     <td>ISO-8859-15</td>
     <td>ISO8859-15</td>
     <td>
      Doğu Avrupa, Latin-9. Euro işaretini ekler, Fransızca ve Fince
      harfler Latin-1&#039;de (ISO-8859-1) yoktur.
     </td>
    </tr>

    <tr>
     <td>UTF-8</td>
     <td class="empty">&nbsp;</td>
     <td>
      ASCII uyumlu 8 bitlik çok baytlı Unicode.
     </td>
    </tr>

    <tr>
     <td>cp866</td>
     <td>ibm866, 866</td>
     <td>
      DOS&#039;a özgü Kril karakter kümesi.
     </td>
    </tr>

    <tr>
     <td>cp1251</td>
     <td>Windows-1251, win-1251, 1251</td>
     <td>
      Windows&#039;a özgü Kril karakter kümesi.
     </td>
    </tr>

    <tr>
     <td>cp1252</td>
     <td>Windows-1252, 1252</td>
     <td>
      Doğu Avrupa için Windows&#039;a özgü karakter kümesi.
     </td>
    </tr>

    <tr>
     <td>KOI8-R</td>
     <td>koi8-ru, koi8r</td>
     <td>
      Rusça.
     </td>
    </tr>

    <tr>
     <td>BIG5</td>
     <td>950</td>
     <td>
      Geleneksel Çince, aslında Tayvan&#039;da kullanılır.
     </td>
    </tr>

    <tr>
     <td>GB2312</td>
     <td>936</td>
     <td>
      Basitleştirilmiş Çince, ulusal standart karakter kümesi.
     </td>
    </tr>

    <tr>
     <td>BIG5-HKSCS</td>
     <td class="empty">&nbsp;</td>
     <td>
      Geleneksel Çince, Hong Kong eklentisi ile Big5.
     </td>
    </tr>

    <tr>
     <td>Shift_JIS</td>
     <td>SJIS, 932</td>
     <td>
      Japonca.
     </td>
    </tr>

    <tr>
     <td>EUC-JP</td>
     <td>EUCJP, eucJP-win</td>
     <td>
      Japonca.
     </td>
    </tr>

    <tr>
     <td>MacRoman</td>
     <td class="empty">&nbsp;</td>
     <td>
      Mac OS tarafından kullanılmış karakter kümesi.
     </td>
    </tr>

    <tr>
     <td><code class="literal">&#039;&#039;</code></td>
     <td class="empty">&nbsp;</td>
     <td>
      Boş bir dize, karakter kümesini,
      komut dosyası kodlamasından (Zend multibyte),
      <a href="ini.core.php#ini.default-charset" class="link">default_charset</a> ve
      geçerli yerel ayardan (bkz. <span class="function"><a href="function.nl-langinfo.php" class="function">nl_langinfo()</a></span> ve
      <span class="function"><a href="function.setlocale.php" class="function">setlocale()</a></span>) algılamayı bu sırayla etkinleştirir.
      Önerilmez.
     </td>
    </tr>

   </tbody>
  
 </table>

 <blockquote class="note"><p><strong class="note">Bilginize</strong>: 
  <span class="simpara">
   Bunlardan başka karakter kümesi tanınmaz. Yerine öntanımlı karakter kümesi
   kullanılır ve bir uyarı çıktılanır.
  </span>
 </p></blockquote>
</p>


     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.get-html-translation-table-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   Dönüşüm tablosunu bir dizi olarak döndürür.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.get-html-translation-table-changelog">
  <h3 class="title">Sürüm Bilgisi</h3>
  <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>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 examples" id="refsect1-function.get-html-translation-table-examples">
  <h3 class="title">Örnekler</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>Örnek 1 - Dönüşüm tablosu örneği</strong></p>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">get_html_translation_table</span><span style="color: #007700">(</span><span style="color: #0000BB">HTML_ENTITIES</span><span style="color: #007700">, </span><span style="color: #0000BB">ENT_QUOTES </span><span style="color: #007700">| </span><span style="color: #0000BB">ENT_HTML5</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">array(1510) {
  [&quot;
&quot;]=&gt;
  string(9) &quot;&amp;NewLine;&quot;
  [&quot;!&quot;]=&gt;
  string(6) &quot;&amp;excl;&quot;
  [&quot;&quot;&quot;]=&gt;
  string(6) &quot;&amp;quot;&quot;
  [&quot;#&quot;]=&gt;
  string(5) &quot;&amp;num;&quot;
  [&quot;$&quot;]=&gt;
  string(8) &quot;&amp;dollar;&quot;
  [&quot;%&quot;]=&gt;
  string(8) &quot;&amp;percnt;&quot;
  [&quot;&amp;&quot;]=&gt;
  string(5) &quot;&amp;amp;&quot;
  [&quot;&#039;&quot;]=&gt;
  string(6) &quot;&amp;apos;&quot;
  // ...
}</pre>
</div>
    </div>
   </div>
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.get-html-translation-table-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <p class="para">
   <ul class="simplelist">
    <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.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.html-entity-decode.php" class="function" rel="rdfs-seeAlso">html_entity_decode()</a> - HTML &ouml;ğelerini karşılığı olan karakterlere d&ouml;n&uuml;şt&uuml;r&uuml;r</span></li>
   </ul>
  </p>
 </div>


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