php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
xml.stub.php
Go to the documentation of this file.
1<?php
2
4
9const XML_ERROR_NONE = UNKNOWN;
14const XML_ERROR_NO_MEMORY = UNKNOWN;
19const XML_ERROR_SYNTAX = UNKNOWN;
24const XML_ERROR_NO_ELEMENTS = UNKNOWN;
39const XML_ERROR_PARTIAL_CHAR = UNKNOWN;
44const XML_ERROR_TAG_MISMATCH = UNKNOWN;
74const XML_ERROR_ASYNC_ENTITY = UNKNOWN;
79const XML_ERROR_BAD_CHAR_REF = UNKNOWN;
115
135const XML_OPTION_SKIP_WHITE = UNKNOWN;
140const XML_OPTION_PARSE_HUGE = UNKNOWN;
141
146const XML_SAX_IMPL = UNKNOWN;
147
148function xml_parser_create(?string $encoding = null): XMLParser {}
149
150function xml_parser_create_ns(?string $encoding = null, string $separator = ":"): XMLParser {}
151
152#[\Deprecated(since: '8.4', message: 'provide a proper method callable to xml_set_*_handler() functions')]
153function xml_set_object(XMLParser $parser, object $object): true {}
154
155function xml_set_element_handler(XMLParser $parser, callable|string|null $start_handler, callable|string|null $end_handler): true {}
156
157function xml_set_character_data_handler(XMLParser $parser, callable|string|null $handler): true {}
158
159function xml_set_processing_instruction_handler(XMLParser $parser, callable|string|null $handler): true {}
160
161function xml_set_default_handler(XMLParser $parser, callable|string|null $handler): true {}
162
163function xml_set_unparsed_entity_decl_handler(XMLParser $parser, callable|string|null $handler): true {}
164
165function xml_set_notation_decl_handler(XMLParser $parser, callable|string|null $handler): true {}
166
167function xml_set_external_entity_ref_handler(XMLParser $parser, callable|string|null $handler): true {}
168
169function xml_set_start_namespace_decl_handler(XMLParser $parser, callable|string|null $handler): true {}
170
171function xml_set_end_namespace_decl_handler(XMLParser $parser, callable|string|null $handler): true {}
172
173function xml_parse(XMLParser $parser, string $data, bool $is_final = false): int {}
174
179function xml_parse_into_struct(XMLParser $parser, string $data, &$values, &$index = null): int|false {}
180
182
184function xml_error_string(int $error_code): ?string {}
185
187
189
191
193
195function xml_parser_set_option(XMLParser $parser, int $option, $value): bool {}
196
198function xml_parser_get_option(XMLParser $parser, int $option): string|int|bool {}
199
204final class XMLParser
205{
206}
$data
Definition bench.php:6
const XML_ERROR_UNKNOWN_ENCODING
Definition xml.stub.php:99
const XML_OPTION_TARGET_ENCODING
Definition xml.stub.php:125
const XML_OPTION_CASE_FOLDING
Definition xml.stub.php:120
const XML_ERROR_PARAM_ENTITY_REF
Definition xml.stub.php:59
const XML_ERROR_RECURSIVE_ENTITY_REF
Definition xml.stub.php:69
const XML_ERROR_MISPLACED_XML_PI
Definition xml.stub.php:94
const XML_ERROR_JUNK_AFTER_DOC_ELEMENT
Definition xml.stub.php:54
xml_get_error_code(XMLParser $parser)
Definition xml.stub.php:181
const XML_ERROR_ATTRIBUTE_EXTERNAL_ENTITY_REF
Definition xml.stub.php:89
xml_parser_free(XMLParser $parser)
Definition xml.stub.php:192
xml_set_start_namespace_decl_handler(XMLParser $parser, callable|string|null $handler)
Definition xml.stub.php:169
xml_get_current_line_number(XMLParser $parser)
Definition xml.stub.php:186
const XML_ERROR_NO_ELEMENTS
Definition xml.stub.php:24
xml_set_external_entity_ref_handler(XMLParser $parser, callable|string|null $handler)
Definition xml.stub.php:167
xml_set_object(XMLParser $parser, object $object)
Definition xml.stub.php:153
xml_parser_create(?string $encoding=null)
Definition xml.stub.php:148
const XML_ERROR_SYNTAX
Definition xml.stub.php:19
const XML_ERROR_NONE
Definition xml.stub.php:9
const XML_ERROR_PARTIAL_CHAR
Definition xml.stub.php:39
const XML_OPTION_PARSE_HUGE
Definition xml.stub.php:140
xml_set_notation_decl_handler(XMLParser $parser, callable|string|null $handler)
Definition xml.stub.php:165
xml_parser_set_option(XMLParser $parser, int $option, $value)
Definition xml.stub.php:195
xml_set_default_handler(XMLParser $parser, callable|string|null $handler)
Definition xml.stub.php:161
const XML_ERROR_INCORRECT_ENCODING
Definition xml.stub.php:104
const XML_ERROR_ASYNC_ENTITY
Definition xml.stub.php:74
const XML_SAX_IMPL
Definition xml.stub.php:146
const XML_ERROR_BAD_CHAR_REF
Definition xml.stub.php:79
const XML_ERROR_EXTERNAL_ENTITY_HANDLING
Definition xml.stub.php:114
const XML_ERROR_UNCLOSED_CDATA_SECTION
Definition xml.stub.php:109
xml_set_element_handler(XMLParser $parser, callable|string|null $start_handler, callable|string|null $end_handler)
Definition xml.stub.php:155
xml_set_end_namespace_decl_handler(XMLParser $parser, callable|string|null $handler)
Definition xml.stub.php:171
xml_get_current_byte_index(XMLParser $parser)
Definition xml.stub.php:190
const XML_OPTION_SKIP_TAGSTART
Definition xml.stub.php:130
const XML_ERROR_INVALID_TOKEN
Definition xml.stub.php:29
xml_set_character_data_handler(XMLParser $parser, callable|string|null $handler)
Definition xml.stub.php:157
const XML_OPTION_SKIP_WHITE
Definition xml.stub.php:135
xml_set_processing_instruction_handler(XMLParser $parser, callable|string|null $handler)
Definition xml.stub.php:159
const XML_ERROR_UNDEFINED_ENTITY
Definition xml.stub.php:64
xml_parse_into_struct(XMLParser $parser, string $data, &$values, &$index=null)
Definition xml.stub.php:179
xml_parser_create_ns(?string $encoding=null, string $separator=":")
Definition xml.stub.php:150
const XML_ERROR_TAG_MISMATCH
Definition xml.stub.php:44
xml_get_current_column_number(XMLParser $parser)
Definition xml.stub.php:188
xml_parse(XMLParser $parser, string $data, bool $is_final=false)
Definition xml.stub.php:173
const XML_ERROR_UNCLOSED_TOKEN
Definition xml.stub.php:34
xml_parser_get_option(XMLParser $parser, int $option)
Definition xml.stub.php:198
const XML_ERROR_NO_MEMORY
Definition xml.stub.php:14
const XML_ERROR_DUPLICATE_ATTRIBUTE
Definition xml.stub.php:49
const XML_ERROR_BINARY_ENTITY_REF
Definition xml.stub.php:84
xml_error_string(int $error_code)
Definition xml.stub.php:184
xml_set_unparsed_entity_decl_handler(XMLParser $parser, callable|string|null $handler)
Definition xml.stub.php:163
function(EX_VAR(opline->result.var))
object