<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.xml.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'function.xml-parser-set-option.php',
    1 => 'xml_parser_set_option',
    2 => 'XML ayrıştırıcı se&ccedil;eneklerini belirler',
  ),
  'up' => 
  array (
    0 => 'ref.xml.php',
    1 => 'XML &Ccedil;&ouml;z&uuml;mleyici İşlevleri',
  ),
  'prev' => 
  array (
    0 => 'function.xml-parser-get-option.php',
    1 => 'xml_parser_get_option',
  ),
  'next' => 
  array (
    0 => 'function.xml-set-character-data-handler.php',
    1 => 'xml_set_character_data_handler',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'tr',
    'path' => 'reference/xml/functions/xml-parser-set-option.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.xml-parser-set-option" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">xml_parser_set_option</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">xml_parser_set_option</span> &mdash; <span class="dc-title">XML ayrıştırıcı seçeneklerini belirler</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.xml-parser-set-option-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>xml_parser_set_option</strong></span>(<span class="methodparam"><span class="type"><a href="class.xmlparser.php" class="type XMLParser">XMLParser</a></span> <code class="parameter">$ayrıştırıcı</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$seçenek</code></span>, <span class="methodparam"><span class="type"><span class="type"><a href="language.types.string.php" class="type string">string</a></span>|<span class="type"><a href="language.types.integer.php" class="type int">int</a></span></span> <code class="parameter">$değer</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   XML ayrıştırıcı seçeneklerinden birine değer atar.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.xml-parser-set-option-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">ayrıştırıcı</code></dt>
     <dd>
      <p class="para">
       XMLParser nesnesi.
      </p>
     </dd>
    
    
     <dt><code class="parameter">seçenek</code></dt>
     <dd>
      <p class="para">
       Değer atanacak seçenek.
      </p>
      <p class="para">
       Kullanılabilecek seçenekler:
       <table class="doctable table">
        <caption><strong>XML ayrıştırıcı seçenekleri</strong></caption>
        
         <thead>
          <tr>
           <th>Seçenek sabiti</th>
           <th>Veri türü</th>
           <th>Açıklama</th>
          </tr>

         </thead>

         <tbody class="tbody">
          <tr>
           <td><strong><code><a href="xml.constants.php#constant.xml-option-case-folding">XML_OPTION_CASE_FOLDING</a></code></strong></td>
           <td><span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></td>
           <td>
            <a href="xml.case-folding.php" class="link">Büyük harfe dönüşüm</a>
            yapılıp yapılmayacağını belirler. Öntanımlı olarak büyük harfe
            dönüşüm yapılır.
           </td>
          </tr>

          <tr>
           <td><strong><code><a href="xml.constants.php#constant.xml-option-skip-tagstart">XML_OPTION_SKIP_TAGSTART</a></code></strong></td>
           <td><span class="type"><a href="language.types.integer.php" class="type integer">integer</a></span></td>
           <td>
            Bir etiket isminin başlangıcından itibaren kaç karakter
            atlanacağını belirler.
           </td>
          </tr>

          <tr>
           <td><strong><code><a href="xml.constants.php#constant.xml-option-skip-white">XML_OPTION_SKIP_WHITE</a></code></strong></td>
           <td><span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></td>
           <td>
            Boşluk karakterlerinden oluşan değerlerin atlanıp atlanmayacağı
            belirtilir.
           </td>
          </tr>

          <tr>
           <td><strong><code><a href="xml.constants.php#constant.xml-option-target-encoding">XML_OPTION_TARGET_ENCODING</a></code></strong></td>
           <td><span class="type"><a href="language.types.string.php" class="type string">string</a></span></td>
           <td>
            XML ayrıştırıcı tarafından kullanılacak <a href="xml.encoding.php" class="link">hedef kodlamayı</a> belirler. Öntanımlı
            olarak, <span class="function"><a href="function.xml-parser-create.php" class="function">xml_parser_create()</a></span> tarafından
            kullanılan kaynak kodlamasıyla aynıdır. Desteklenen hedef
            kodlamalar: <code class="literal">ISO-8859-1</code>,
            <code class="literal">US-ASCII</code> ve <code class="literal">UTF-8</code>.
           </td>
          </tr>

         </tbody>
        
       </table>

      </p>
     </dd>
    
    
     <dt><code class="parameter">değer</code></dt>
     <dd>
      <p class="para">
       Seçeneğin değeri.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.xml-parser-set-option-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   Başarı durumunda <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>, 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 errors" id="refsect1-function.xml-parser-set-option-errors">
  <h3 class="title">Hatalar/İstisnalar</h3>
  <p class="para">
   <code class="parameter">seçenek</code> ile geçersiz bir değer aktarıldığında
   <span class="classname"><a href="class.valueerror.php" class="classname">ValueError</a></span> istisnası oluşur.
  </p>
  <p class="para">
   PHP 8.0.0 öncesinde, böyle bir durumda işlev <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> döndürürken bir
   <strong><code><a href="errorfunc.constants.php#constant.e-warning">E_WARNING</a></code></strong> üretilirdi.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.xml-parser-set-option-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.3.0</td>
      <td>
       <code class="parameter">değer</code> bağımsız değişkeni artık ikilik
       değerleri de kabul ediyor.
       <strong><code><a href="xml.constants.php#constant.xml-option-case-folding">XML_OPTION_CASE_FOLDING</a></code></strong> ve
       <strong><code><a href="xml.constants.php#constant.xml-option-skip-white">XML_OPTION_SKIP_WHITE</a></code></strong> seçenekleri artık
       ikil seçeneklerdir.
      </td>
     </tr>

     <tr>
 <td>8.0.0</td>
 <td>
  <code class="parameter">ayrıştırıcı</code> artık bir <span class="classname"><a href="class.xmlparser.php" class="classname">XMLParser</a></span>
  örneği olabiliyor; evvelce <span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> türünde geçerli bir
  <code class="literal">xml</code> değeri kabul ederdi.
 </td>
</tr>

    </tbody>
   
  </table>

 </div>


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