Home > PHP > Function > Output Control > ob_get_length()

ob_get_length()

ob_get_length - Return the length of the output buffer

Syntax

int ob_get_length ()

Arguments

-

Description

This will return the length of the contents in the output buffer.

Version

PHP 4.0.2, 5

Return value

Returns the length of the output buffer contents or FALSE if no buffering is active.