← All docs

xml_parser_get_option()

Reads an XML_OPTION_* parser option.

xml_parser_get_option()

function xml_parser_get_option(mixed $parser, int $option): mixed

Reads an XML_OPTION_* parser option.

Parameters:

  • $parser (mixed)
  • $option (int)

Returns: mixed

Availability

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how xml_parser_get_option is implemented in the compiler, see the internals page.