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

ob_list_handlers()

ob_list_handlers - List all output handlers in use

Syntax

array ob_list_handlers ()

Arguments

-

Description

Lists all output handlers in use.

Version

PHP 4.3.0, 5

Return value

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