ob_get_length

(PHP 4 >= 4.0.2)

ob_get_length --  Return the length of the output buffer

Description

string ob_get_length ()

This will return the length of the contents in the output buffer or FALSE, if output buffering isnt't active.

See also ob_start() and ob_get_contents().