Easy Tutorial
❮ Func Mysqli Rollback Func Mysqli Fetch Object ❯

PHP xml_parser_get_option() Function



Definition and Usage

The xml_parser_get_option() function retrieves an option from an XML parser.

The function returns the option value if successful. If it fails, it returns FALSE and an error.

Syntax

Parameter Description
parser Required. Specifies the XML parser to use.
option Required. Specifies the option to retrieve. Possible values: XML_OPTION_CASE_FOLDING - Specifies whether to allow case-folding. It is allowed by default. Can be 1 (TRUE) or 0 (FALSE).<br> XML_OPTION_TARGET_ENCODING - Specifies which target encoding to use in the XML parser. By default, it is the same as the setting in the xml_parser_create() function, and it supports the target encodings: ISO-8859-1, US-ASCII, and UTF-8.

Example


❮ Func Mysqli Rollback Func Mysqli Fetch Object ❯