下载
文档
参与
帮助
全栈开发网
基金会
Search docs
PHP 8.4.2 Released!
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
简介 »
« XMLDiff\File::merge
PHP 手册
函数参考
XML 操作
切换语言:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
XML 解析器
简介
安装/配置
需求
安装
资源类型
预定义常量
事件处理程序
大写转换
错误代码
字符编码
示例
XML 元素结构示例
XML 标签映射示例
XML 外部实体示例
XML 解析器函数
xml_error_string
— 获取 XML 解析器的错误字符串
xml_get_current_byte_index
— 获取 XML 解析器的当前字节索引
xml_get_current_column_number
— 获取 XML 解析器的当前列号
xml_get_current_line_number
— 获取 XML 解析器的当前行号
xml_get_error_code
— 获取 XML 解析器错误代码
xml_parse
— 开始解析 XML 文档
xml_parse_into_struct
— 解析 XML 数据到数组中
xml_parser_create
— 创建 XML 解析器
xml_parser_create_ns
— 创建支持命名空间的 XML 解析器
xml_parser_free
— 释放 XML 解析器
xml_parser_get_option
— 从 XML 解析器获取选项
xml_parser_set_option
— 在 XML 解析器中设置选项
xml_set_character_data_handler
— 建立字符数据处理器
xml_set_default_handler
— 建立默认处理程序
xml_set_element_handler
— 建立起始和终止元素处理程序
xml_set_end_namespace_decl_handler
— 设置终止命名空间声明处理程序
xml_set_external_entity_ref_handler
— 设置外部实体引用处理程序
xml_set_notation_decl_handler
— 设置符号声明处理程序
xml_set_object
— 在对象中使用 XML 解析器
xml_set_processing_instruction_handler
— 建立处理指令(PI)处理程序
xml_set_start_namespace_decl_handler
— 设置起始命名空间声明处理程序
xml_set_unparsed_entity_decl_handler
— 建立未解析实体定义声明处理程序
XMLParser
— XMLParser 类
发现了问题?
了解如何改进此页面
•
提交拉取请求
•
报告一个错误
+
添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
↑
and
↓
to navigate •
Enter
to select •
Esc
to close
Press
Enter
without selection to search using Google