← All docs

xmlwriter_start_pi()

Starts a processing instruction.

xmlwriter_start_pi()

function xmlwriter_start_pi(mixed $writer, string $target): bool

Starts a processing instruction.

Parameters:

  • $writer (mixed)
  • $target (string)

Returns: bool

Availability

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

Internals

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