English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The xml_parser_free() function is used to release the XML parser.
bool xml_parser_free ( resource $parser )
It is used to release the XML parser.
If the parser parameter does not point to a valid parser, the function will return FALSE, otherwise it will release the specified parser and return TRUE.
Serial Number | Parameters and Description |
---|---|
1 | parser Pointer to the XML parser to be released. |
Try the following example, create an XML parser and then release the XML parser:
<?php $local = xml_parser_create(); xml_parser_free($local); ?>