PHP xml_parser_free() Function
In this chapter you will learn:
- Description for PHP xml_parser_free() Function
- Syntax for PHP xml_parser_free() Function
- Parameter for PHP xml_parser_free() Function
- Return for PHP xml_parser_free() Function
- Example - frees an an XML parser
Description
The xml_parser_free() function frees an an XML parser.
Syntax
PHP xml_parser_free() Function has following syntax.
xml_parser_free(parser)
Parameter
Parameter | Is Required | Description |
---|---|---|
parser | Required. | XML parser to free |
Return
This function returns TRUE on success, or FALSE on failure.
Example
frees an an XML parser
<?php//from j a v a 2 s . com
$xmlparser = xml_parser_create();
xml_parser_free($xmlparser);
?>
Next chapter...
What you will learn in the next chapter:
- Description for PHP xml_parser_get_option() Function
- Syntax for PHP xml_parser_get_option() Function
- Parameter for PHP xml_parser_get_option() Function
- Return for PHP xml_parser_get_option() Function
- Example - gets options from an XML parser
Home » PHP Tutorial » PHP XML Functions