PHP. Руководство по PHP. 2005
ob_get_length
ob_get_length
Description
int ob_get_length (void)This will return the length of the contents in the output buffer or FALSE, if output buffering isn't active.
See also ob_start() and ob_get_contents().
ob_get_flush
ob_get_level