← All docs

xmlwriter_start_attribute()

Starts an attribute.

xmlwriter_start_attribute()

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

Starts an attribute.

Parameters:

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

Returns: bool

Availability

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

Internals

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