PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
ob_list_handlers - List all output handlers in use
Code Examples

ob_list_handlers( ): array

Lists all output handlers in use.


This function has no parameters.

Return Values

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".

Related Functions

Example of ob_list_handlers

Show all examples for ob_list_handlers

PHP Version:

Function ob_list_handlers:

Output Buffering Control Functions

Most used PHP functions