PHP function ob_list_handlers()

Availability in versions: PHP 4.3.0

List all output handlers in use

Parameters

The function has no input parameters.

Return values

array

This will return an array with the output handlers in use (if any). If output_buffering is enabled or an anonymous function was used with ob_start, ob_list_handlers will return "default output handler".

Additional resources

Official ob-list-handlers documentation

Newsletter

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