PHP xml_parser_get_option() 函数
PHP 教程
· 2019-01-30 19:27:28
定义和用法
xml_parser_get_option() 函数从 XML 解析器获取选项。
如果成功,该函数则返回选项值。如果失败,则返回 FALSE 和一个错误。
语法
xml_parser_get_option(parser,option,value)
| 参数 | 描述 |
|---|---|
| parser | 必需。规定要使用的 XML 解析器。 |
| option | 必需。规定要获取的选项。可能的值:
|
实例
<?php $xmlparser = xml_parser_create(); echo xml_parser_get_option($xmlparser, XML_OPTION_CASE_FOLDING); xml_parser_free($xmlparser); ?>
点击查看所有 PHP 教程 文章: https://codercto.com/courses/l/5.html
Programming Rust
Jim Blandy / O'Reilly Media / 2016-8-25 / GBP 47.99
This practical book introduces systems programmers to Rust, the new and cutting-edge language that’s still in the experimental/lab stage. You’ll learn how Rust offers the rare and valuable combination......一起来看看 《Programming Rust》 这本书的介绍吧!