xml_parser_set_option()

It sets options in an XML parser

Example

<?php
$xmlparser = xml_parser_create();
xml_parser_set_option($xmlparser, XML_OPTION_SKIP_WHITE, 1);
xml_parser_free($xmlparser);
?>

Share