1--TEST--
2xml_parser_get_option() with XML_OPTION_SKIP_TAGSTART and XML_OPTION_SKIP_WHITE
3--EXTENSIONS--
4xml
5--FILE--
6<?php
7$parser = xml_parser_create();
8echo "defaults:\n";
9var_dump(xml_parser_get_option($parser, XML_OPTION_SKIP_TAGSTART));
10var_dump(xml_parser_get_option($parser, XML_OPTION_SKIP_WHITE));
11echo "setting:\n";
12var_dump(xml_parser_set_option($parser, XML_OPTION_SKIP_TAGSTART, 7));
13var_dump(xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1));
14echo "getting:\n";
15var_dump(xml_parser_get_option($parser, XML_OPTION_SKIP_TAGSTART));
16var_dump(xml_parser_get_option($parser, XML_OPTION_SKIP_WHITE));
17?>
18--EXPECT--
19defaults:
20int(0)
21int(0)
22setting:
23bool(true)
24bool(true)
25getting:
26int(7)
27int(1)
28