PHP xml_parser_free () function
Definition and Usage
xml_parser_free () function to release the XML parser.
If successful, the function returns TRUE. If it fails, it returns FALSE.
grammar
xml_parser_free(parser)
参数 | 描述 |
---|---|
parser | 必需。规定要释放的 XML 解析器。 |
Tips and Notes
Tip: To create XML parser, use xml_parser_create () function.
Examples
<?php
$xmlparser = xml_parser_create();
xml_parser_free($xmlparser);
?>
$xmlparser = xml_parser_create();
xml_parser_free($xmlparser);
?>
Complete PHP XML Reference