← All docs

mb_output_handler()

Converts an output-buffer phase using the request encodings, MIME selection, and substitution settings.

mb_output_handler()

function mb_output_handler(string $string, int $status): string

Converts an output-buffer phase using the request encodings, MIME selection, and substitution settings.

Parameters:

  • $string (string)
  • $status (int)

Returns: string

Availability

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

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