ob_get_contents Return the contents of the output buffer Description stringob_get_contents This will return the contents of the output buffer or &false;, if output buffering isn't active. See also ob_start and ob_get_length.