ob_tidyhandler(3) php man page | unix.com

Query: ob_tidyhandler

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

OB_TIDYHANDLER(3)							 1							 OB_TIDYHANDLER(3)

ob_tidyhandler - ob_start callback function to repair the buffer

SYNOPSIS
string ob_tidyhandler (string $input, [int $mode])
DESCRIPTION
Callback function for ob_start(3) to repair the buffer.
PARAMETERS
o $input - The buffer. o $mode - The buffer mode.
RETURN VALUES
Returns the modified buffer.
EXAMPLES
Example #1 ob_tidyhandler(3) example <?php ob_start('ob_tidyhandler'); echo '<p>test</i>'; ?> The above example will output: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title></title> </head> <body> <p>test</p> </body> </html>
SEE ALSO
ob_start(3). PHP Documentation Group OB_TIDYHANDLER(3)
Related Man Pages
ob_iconv_handler(3) - php
ob_list_handlers(3) - php
tidy_get_head(3) - php
tidy_get_html(3) - php
tidy_repair_string(3) - php
Similar Topics in the Unix Linux Community
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch