PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<xml_error_stringxml_get_current_column_number>
Last updated: Mon, 16 Jul 2012

xml_get_current_byte_index

(PHP 3 >= 3.0.6, PHP 4, PHP 5)

xml_get_current_byte_index -- 获取 XML 解析器的当前字节索引(current byte index)。

说明

int xml_get_current_byte_index ( resource parser )

获取指定的 XML 解析器的当前字节索引。

参数

parser

一个指向要获取当前字节索引的 XML 解析器的指针。

返回值

如果 parser 没有指向一个合法的解析器,该函数将返回 FALSE,否则将返回解析器在其缓存中的字节索引(起始值为0)。

参见

xml_get_current_column_index()
xml_get_current_line_index()




<xml_error_stringxml_get_current_column_number>
 Last updated: Mon, 16 Jul 2012
 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://manual.phpv.net/
Last updated: Thu Jul 7 19:13:47 2005 CST