PHP Output Control ob_list_handlers() Function

PHP Output Control Functions : Show a list of handlers being used by the topmost output buffer

Definition and Usage

The ob_list_handlers() function returns an array with the names of the callback functions that were passed into the ob_start() function of the topmost output buffer. The array may have an element named "default output handler" which refers to PHP's native handling of output buffers.

Syntax

ob_list_handlers();

Technical Details

Return Value: Returns an array of names of the functions that are being used to handle the output
PHP Version: 4.3+

❮ PHP Output Control Functions