PHP function ob_get_contents()

Availability in PHP 4.0

Return the contents of the output buffer

Parameters

The function has no input parameters.

Return values

string

This will return the contents of the output buffer or false, if output buffering isn't active.

Additional resources

Official ob-get-contents documentation

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.