← All docs

XML builtins

Builtins in the XML category.

XML builtins

FunctionSignatureReturnsAOTeval()
xml_error_string()(int $error_code): ?string?string
xml_get_current_byte_index()(mixed $parser): intint
xml_get_current_column_number()(mixed $parser): intint
xml_get_current_line_number()(mixed $parser): intint
xml_get_error_code()(mixed $parser): intint
xml_parse()(mixed $parser, string $data, bool $is_final = false): intint
xml_parse_into_struct()(mixed $parser, string $data, mixed $values, mixed $index = null): intint
xml_parser_create()(?string $encoding = null): mixedmixed
xml_parser_create_ns()(?string $encoding = null, string $separator = ':'): mixedmixed
xml_parser_free()(mixed $parser): boolbool
xml_parser_get_option()(mixed $parser, int $option): mixedmixed
xml_parser_set_option()(mixed $parser, int $option, mixed $value): boolbool
xml_set_character_data_handler()(mixed $parser, mixed $handler): boolbool
xml_set_default_handler()(mixed $parser, mixed $handler): boolbool
xml_set_element_handler()(mixed $parser, mixed $start_handler, mixed $end_handler): boolbool
xml_set_end_namespace_decl_handler()(mixed $parser, mixed $handler): boolbool
xml_set_external_entity_ref_handler()(mixed $parser, mixed $handler): boolbool
xml_set_notation_decl_handler()(mixed $parser, mixed $handler): boolbool
xml_set_object()(mixed $parser, mixed $object): boolbool
xml_set_processing_instruction_handler()(mixed $parser, mixed $handler): boolbool
xml_set_start_namespace_decl_handler()(mixed $parser, mixed $handler): boolbool
xml_set_unparsed_entity_decl_handler()(mixed $parser, mixed $handler): boolbool
xmlwriter_end_attribute()(mixed $writer): boolbool
xmlwriter_end_cdata()(mixed $writer): boolbool
xmlwriter_end_comment()(mixed $writer): boolbool
xmlwriter_end_document()(mixed $writer): boolbool
xmlwriter_end_dtd()(mixed $writer): boolbool
xmlwriter_end_dtd_attlist()(mixed $writer): boolbool
xmlwriter_end_dtd_element()(mixed $writer): boolbool
xmlwriter_end_dtd_entity()(mixed $writer): boolbool
xmlwriter_end_element()(mixed $writer): boolbool
xmlwriter_end_pi()(mixed $writer): boolbool
xmlwriter_flush()(mixed $writer, bool $empty = true): mixedmixed
xmlwriter_full_end_element()(mixed $writer): boolbool
xmlwriter_open_memory()(): mixedmixed
xmlwriter_open_uri()(string $uri): mixedmixed
xmlwriter_output_memory()(mixed $writer, bool $flush = true): stringstring
xmlwriter_set_indent()(mixed $writer, bool $enable): boolbool
xmlwriter_set_indent_string()(mixed $writer, string $indentation): boolbool
xmlwriter_start_attribute()(mixed $writer, string $name): boolbool
xmlwriter_start_attribute_ns()(mixed $writer, ?string $prefix, string $name, ?string $namespace): boolbool
xmlwriter_start_cdata()(mixed $writer): boolbool
xmlwriter_start_comment()(mixed $writer): boolbool
xmlwriter_start_document()(mixed $writer, ?string $version = '1.0', ?string $encoding = null, ?string $standalone = null): boolbool
xmlwriter_start_dtd()(mixed $writer, string $qualifiedName, ?string $publicId = null, ?string $systemId = null): boolbool
xmlwriter_start_dtd_attlist()(mixed $writer, string $name): boolbool
xmlwriter_start_dtd_element()(mixed $writer, string $qualifiedName): boolbool
xmlwriter_start_dtd_entity()(mixed $writer, string $name, bool $isParam): boolbool
xmlwriter_start_element()(mixed $writer, string $name): boolbool
xmlwriter_start_element_ns()(mixed $writer, ?string $prefix, string $name, ?string $namespace): boolbool
xmlwriter_start_pi()(mixed $writer, string $target): boolbool
xmlwriter_text()(mixed $writer, string $content): boolbool
xmlwriter_write_attribute()(mixed $writer, string $name, string $value): boolbool
xmlwriter_write_attribute_ns()(mixed $writer, ?string $prefix, string $name, ?string $namespace, string $value): boolbool
xmlwriter_write_cdata()(mixed $writer, string $content): boolbool
xmlwriter_write_comment()(mixed $writer, string $content): boolbool
xmlwriter_write_dtd()(mixed $writer, string $name, ?string $publicId = null, ?string $systemId = null, ?string $content = null): boolbool
xmlwriter_write_dtd_attlist()(mixed $writer, string $name, string $content): boolbool
xmlwriter_write_dtd_element()(mixed $writer, string $name, string $content): boolbool
xmlwriter_write_dtd_entity()(mixed $writer, string $name, string $content, bool $isParam = false, ?string $publicId = null, ?string $systemId = null, ?string $notationData = null): boolbool
xmlwriter_write_element()(mixed $writer, string $name, ?string $content = null): boolbool
xmlwriter_write_element_ns()(mixed $writer, ?string $prefix, string $name, ?string $namespace, ?string $content = null): boolbool
xmlwriter_write_pi()(mixed $writer, string $target, string $content): boolbool
xmlwriter_write_raw()(mixed $writer, string $content): boolbool