From f542a3c6db645c387a561401aea1ba97ee808a0f Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Sat, 3 Jan 2004 13:57:34 +0000 Subject: [PATCH] added example git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@147761 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../outcontrol/functions/ob-list-handlers.xml | 41 ++++++++++++++++++- 1 file changed, 39 insertions(+), 2 deletions(-) diff --git a/reference/outcontrol/functions/ob-list-handlers.xml b/reference/outcontrol/functions/ob-list-handlers.xml index b7a1498152..690656a82f 100755 --- a/reference/outcontrol/functions/ob-list-handlers.xml +++ b/reference/outcontrol/functions/ob-list-handlers.xml @@ -1,5 +1,5 @@ - + ob_list_handlers @@ -14,7 +14,44 @@ - This will return an array with the output handlers in use (if any). + This will return an array with the output handlers in use (if any). If + output_buffering is + enabled, ob_list_handlers will return "default + output handler". + + + + <function>ob_list_handlers</function> example + + +]]> + + + The above example will output: + + + default output handler +) +Array +( + [0] => ob_gzhandler +) +]]> + + See also ob_end_clean,