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

ob_start()

ob_start - Turn on output buffering

Syntax

bool ob_start ()

Arguments

-

Description

This function will turn output buffering on. While output buffering is active no output is sent from the script (other than headers), instead the output is stored in an internal buffer.

Version

PHP 4, 5

Return value

Returns TRUE on success or FALSE on failure.