PHP Manual
Prev |  | Next

# xml_parser_create

xml_parser_create -- create an XML parser

## Description

`int xml_parser_create`(string [encoding] );

`encoding` (optional)

  Which character encoding the parser should use. The following character encodings are supported:

  `ISO-8859-1` (default)
  `US-ASCII`
  `UTF-8`

This function creates an XML parser and returns a handle for use by other XML functions. Returns `false` on failure.

Prev | Home | Next
XML parser functions | Up | xml_set_object