PHP: ob_tidyhandler - Manual (original) (raw)
(PHP 5, PHP 7, PHP 8)
ob_tidyhandler — ob_start callback function to repair the buffer
Description
Parameters
input
The buffer.
mode
The buffer mode.
Return Values
Returns the modified buffer.
Examples
Example #1 ob_tidyhandler() example
`<?php
ob_start('ob_tidyhandler');
echo
'
test';
?>`
The above example will output:
test
Found A Problem?
There are no user contributed notes for this page.