← 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
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported through a declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/string/mb_output_handler.rs).
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.