/** @generate-function-entries */
-function xml_parser_create(?string $encoding = null): XmlParser {}
+function xml_parser_create(?string $encoding = null): XMLParser {}
-function xml_parser_create_ns(?string $encoding = null, string $separator = ":"): XmlParser {}
+function xml_parser_create_ns(?string $encoding = null, string $separator = ":"): XMLParser {}
-function xml_set_object(XmlParser $parser, object $object): bool {}
+function xml_set_object(XMLParser $parser, object $object): bool {}
/**
* @param callable $start_handler
* @param callable $end_handler
*/
-function xml_set_element_handler(XmlParser $parser, $start_handler, $end_handler): bool {}
+function xml_set_element_handler(XMLParser $parser, $start_handler, $end_handler): bool {}
/** @param callable $handler */
-function xml_set_character_data_handler(XmlParser $parser, $handler): bool {}
+function xml_set_character_data_handler(XMLParser $parser, $handler): bool {}
/** @param callable $handler */
-function xml_set_processing_instruction_handler(XmlParser $parser, $handler): bool {}
+function xml_set_processing_instruction_handler(XMLParser $parser, $handler): bool {}
/** @param callable $handler */
-function xml_set_default_handler(XmlParser $parser, $handler): bool {}
+function xml_set_default_handler(XMLParser $parser, $handler): bool {}
/** @param callable $handler */
-function xml_set_unparsed_entity_decl_handler(XmlParser $parser, $handler): bool {}
+function xml_set_unparsed_entity_decl_handler(XMLParser $parser, $handler): bool {}
/** @param callable $handler */
-function xml_set_notation_decl_handler(XmlParser $parser, $handler): bool {}
+function xml_set_notation_decl_handler(XMLParser $parser, $handler): bool {}
/** @param callable $handler */
-function xml_set_external_entity_ref_handler(XmlParser $parser, $handler): bool {}
+function xml_set_external_entity_ref_handler(XMLParser $parser, $handler): bool {}
/** @param callable $handler */
-function xml_set_start_namespace_decl_handler(XmlParser $parser, $handler): bool {}
+function xml_set_start_namespace_decl_handler(XMLParser $parser, $handler): bool {}
/** @param callable $handler */
-function xml_set_end_namespace_decl_handler(XmlParser $parser, $handler): bool {}
+function xml_set_end_namespace_decl_handler(XMLParser $parser, $handler): bool {}
-function xml_parse(XmlParser $parser, string $data, bool $is_final = false): int {}
+function xml_parse(XMLParser $parser, string $data, bool $is_final = false): int {}
/**
* @param array $values
* @param array $index
*/
-function xml_parse_into_struct(XmlParser $parser, string $data, &$values, &$index = null): int {}
+function xml_parse_into_struct(XMLParser $parser, string $data, &$values, &$index = null): int {}
-function xml_get_error_code(XmlParser $parser): int {}
+function xml_get_error_code(XMLParser $parser): int {}
function xml_error_string(int $error_code): ?string {}
-function xml_get_current_line_number(XmlParser $parser): int {}
+function xml_get_current_line_number(XMLParser $parser): int {}
-function xml_get_current_column_number(XmlParser $parser): int {}
+function xml_get_current_column_number(XMLParser $parser): int {}
-function xml_get_current_byte_index(XmlParser $parser): int {}
+function xml_get_current_byte_index(XMLParser $parser): int {}
-function xml_parser_free(XmlParser $parser): bool {}
+function xml_parser_free(XMLParser $parser): bool {}
/** @param string|int $value */
-function xml_parser_set_option(XmlParser $parser, int $option, $value): bool {}
+function xml_parser_set_option(XMLParser $parser, int $option, $value): bool {}
-function xml_parser_get_option(XmlParser $parser, int $option): string|int {}
+function xml_parser_get_option(XMLParser $parser, int $option): string|int {}
-final class XmlParser
+final class XMLParser
{
}
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 7014b171486b2a597f659369a707a592c26b3b2f */
+ * Stub hash: d42215062c41775bae538cd310bc60e63fa06a8e */
-ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_xml_parser_create, 0, 0, XmlParser, 0)
+ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_xml_parser_create, 0, 0, XMLParser, 0)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_xml_parser_create_ns, 0, 0, XmlParser, 0)
+ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_xml_parser_create_ns, 0, 0, XMLParser, 0)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, separator, IS_STRING, 0, "\":\"")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xml_set_object, 0, 2, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, parser, XmlParser, 0)
+ ZEND_ARG_OBJ_INFO(0, parser, XMLParser, 0)
ZEND_ARG_TYPE_INFO(0, object, IS_OBJECT, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xml_set_element_handler, 0, 3, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, parser, XmlParser, 0)
+ ZEND_ARG_OBJ_INFO(0, parser, XMLParser, 0)
ZEND_ARG_INFO(0, start_handler)
ZEND_ARG_INFO(0, end_handler)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xml_set_character_data_handler, 0, 2, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, parser, XmlParser, 0)
+ ZEND_ARG_OBJ_INFO(0, parser, XMLParser, 0)
ZEND_ARG_INFO(0, handler)
ZEND_END_ARG_INFO()
#define arginfo_xml_set_end_namespace_decl_handler arginfo_xml_set_character_data_handler
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xml_parse, 0, 2, IS_LONG, 0)
- ZEND_ARG_OBJ_INFO(0, parser, XmlParser, 0)
+ ZEND_ARG_OBJ_INFO(0, parser, XMLParser, 0)
ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, is_final, _IS_BOOL, 0, "false")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xml_parse_into_struct, 0, 3, IS_LONG, 0)
- ZEND_ARG_OBJ_INFO(0, parser, XmlParser, 0)
+ ZEND_ARG_OBJ_INFO(0, parser, XMLParser, 0)
ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
ZEND_ARG_INFO(1, values)
ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, index, "null")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xml_get_error_code, 0, 1, IS_LONG, 0)
- ZEND_ARG_OBJ_INFO(0, parser, XmlParser, 0)
+ ZEND_ARG_OBJ_INFO(0, parser, XMLParser, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xml_error_string, 0, 1, IS_STRING, 1)
#define arginfo_xml_get_current_byte_index arginfo_xml_get_error_code
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xml_parser_free, 0, 1, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, parser, XmlParser, 0)
+ ZEND_ARG_OBJ_INFO(0, parser, XMLParser, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_xml_parser_set_option, 0, 3, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, parser, XmlParser, 0)
+ ZEND_ARG_OBJ_INFO(0, parser, XMLParser, 0)
ZEND_ARG_TYPE_INFO(0, option, IS_LONG, 0)
ZEND_ARG_INFO(0, value)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_xml_parser_get_option, 0, 2, MAY_BE_STRING|MAY_BE_LONG)
- ZEND_ARG_OBJ_INFO(0, parser, XmlParser, 0)
+ ZEND_ARG_OBJ_INFO(0, parser, XMLParser, 0)
ZEND_ARG_TYPE_INFO(0, option, IS_LONG, 0)
ZEND_END_ARG_INFO()
};
-static const zend_function_entry class_XmlParser_methods[] = {
+static const zend_function_entry class_XMLParser_methods[] = {
ZEND_FE_END
};