PHP Manual
Prev |  | Next

# xml_parser_create

(PHP 3>= 3.0.6, PHP 4 )

xml_parser_create -- create an XML parser

## Description

resource 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_create_ns | Up | xml_parser_free