← All docs

xml_set_character_data_handler()

Sets the character data handler.

xml_set_character_data_handler()

function xml_set_character_data_handler(mixed $parser, mixed $handler): bool

Sets the character data handler.

Parameters:

  • $parser (mixed)
  • $handler (mixed)

Returns: bool

Availability

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

Internals

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