IT学习者 -> 技术文档 -> PHP 完全中文手册

函数:xml_set_processing_instruction_handler()


xml_set_processing_instruction_handler

建立处理指令标头。

语法: boolean xml_set_processing_instruction_handler(int parser, string handler);

返回值: 布尔值

函数种类: 资料处理

内容说明

本函数配置处理指令 (Processing Instruction, 简称 PI) 的标头,处理指令类似下列行的格式

<?target data?>

参数 parser 为解析代码。参数 handler 包括解析代码、处理指令目标及资料字符串等三个元素。若无错误则返回 true 值。



[ 上一页  PHP中文手册  下一页 ]

PHP 首页 | PHP 导读 | PHP 函数库 | PHP 函数索引 | PHP 范例程序