PHP Manual
Prev |  | Next

# xml_parser_create

(3.0.6 - 3.0.18 only, PHP 4 >= 4.0.0)

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