ob_list_handlers
PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
ob_list_handlers - List all output handlers in use
Manual
ob_list_handlers(
): array
Lists all output handlers in use.
Parameters
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".