forked from php/php-src
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxml.stub.php
57 lines (35 loc) · 1.87 KB
/
xml.stub.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
function xml_parser_create(string $encoding = UNKNOWN): XmlParser|false {}
function xml_parser_create_ns(string $encoding = UNKNOWN, string $sep = ':'): XmlParser|false {}
function xml_set_object(XmlParser $parser, object $obj): bool {}
/**
* @param callable $shdl
* @param callable $ehdl
*/
function xml_set_element_handler(XmlParser $parser, $shdl, $ehdl): bool {}
/** @param callable $hdl */
function xml_set_character_data_handler(XmlParser $parser, $hdl): bool {}
/** @param callable $hdl */
function xml_set_processing_instruction_handler(XmlParser $parser, $hdl): bool {}
/** @param callable $hdl */
function xml_set_default_handler(XmlParser $parser, $hdl): bool {}
/** @param callable $hdl */
function xml_set_unparsed_entity_decl_handler(XmlParser $parser, $hdl): bool {}
/** @param callable $hdl */
function xml_set_notation_decl_handler(XmlParser $parser, $hdl): bool {}
/** @param callable $hdl */
function xml_set_external_entity_ref_handler(XmlParser $parser, $hdl): bool {}
/** @param callable $hdl */
function xml_set_start_namespace_decl_handler(XmlParser $parser, $hdl): bool {}
/** @param callable $hdl */
function xml_set_end_namespace_decl_handler(XmlParser $parser, $hdl): bool {}
function xml_parse(XmlParser $parser, string $data, bool $isfinal = false): int {}
function xml_parse_into_struct(XmlParser $parser, string $data, &$values, &$index = UNKNOWN): int {}
function xml_get_error_code(XmlParser $parser): int {}
function xml_error_string(int $code): ?string {}
function xml_get_current_line_number(XmlParser $parser): int {}
function xml_get_current_column_number(XmlParser $parser): int {}
function xml_get_current_byte_index(XmlParser $parser): int {}
function xml_parser_free(XmlParser $parser): bool {}
function xml_parser_set_option(XmlParser $parser, int $option, $value): bool {}
function xml_parser_get_option(XmlParser $parser, int $option) {}