<?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 => 'ja',
  ),
  'this' => 
  array (
    0 => 'function.xml-get-current-byte-index.php',
    1 => 'xml_get_current_byte_index',
    2 => 'XML パーサーのカレントのバイトインデックスを得る',
  ),
  'up' => 
  array (
    0 => 'ref.xml.php',
    1 => 'XML パーサー 関数',
  ),
  'prev' => 
  array (
    0 => 'function.xml-error-string.php',
    1 => 'xml_error_string',
  ),
  'next' => 
  array (
    0 => 'function.xml-get-current-column-number.php',
    1 => 'xml_get_current_column_number',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/xml/functions/xml-get-current-byte-index.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.xml-get-current-byte-index" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">xml_get_current_byte_index</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">xml_get_current_byte_index</span> &mdash; <span class="dc-title">XML パーサーのカレントのバイトインデックスを得る</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.xml-get-current-byte-index-description">
  <h3 class="title">説明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>xml_get_current_byte_index</strong></span>(<span class="methodparam"><span class="type"><a href="class.xmlparser.php" class="type XMLParser">XMLParser</a></span> <code class="parameter">$parser</code></span>): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

  <p class="para rdfs-comment">
   指定した XML パーサーのカレントのバイトインデックスを取得します。
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.xml-get-current-byte-index-parameters">
  <h3 class="title">パラメータ</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">parser</code></dt>
     <dd>
      <p class="para">
       バイトインデックスを得る XML パーサーへのリファレンス。
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.xml-get-current-byte-index-returnvalues">
  <h3 class="title">戻り値</h3>
  <p class="para">
   データバッファにおいて、パーサーが現在処理中のバイトインデックス (先頭が 0) を返します。
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.xml-get-current-byte-index-changelog">
  <h3 class="title">変更履歴</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>バージョン</th>
      <th>説明</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
 <td>8.0.0</td>
 <td>
  引数 <code class="parameter">parser</code> は、
  <span class="classname"><a href="class.xmlparser.php" class="classname">XMLParser</a></span> インスタンスを期待するようになりました。
  これより前のバージョンでは、有効な <code class="literal">xml</code> <span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> が期待されていました。
 </td>
</tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 notes" id="refsect1-function.xml-get-current-byte-index-notes">
  <h3 class="title">注意</h3>
  <div class="warning"><strong class="warning">警告</strong>
   <p class="para">
    この関数は、UTF-8 エンコードされたテキストに基づいたバイトインデックスを返します。
    入力が他のエンコーディングであっても無視します。
   </p>
  </div>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.xml-get-current-byte-index-seealso">
  <h3 class="title">参考</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.xml-get-current-column-number.php" class="function" rel="rdfs-seeAlso">xml_get_current_column_number()</a> - XML パーサーのカレントのカラム番号を取得する</span></li>
    <li><span class="function"><a href="function.xml-get-current-line-number.php" class="function" rel="rdfs-seeAlso">xml_get_current_line_number()</a> - XML パーサーのカレントの行番号を得る</span></li>
   </ul>
  </p>
 </div>


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