← All docs

xmlwriter_start_element()

Starts an element.

xmlwriter_start_element()

function xmlwriter_start_element(mixed $writer, string $name): bool

Starts an element.

Parameters:

  • $writer (mixed)
  • $name (string)

Returns: bool

Availability

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

Internals

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