php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #33978 parameter 'mode' of ob_gzhandler not documented
Submitted: 2005-08-03 15:01 UTC Modified: 2005-08-04 14:17 UTC
From: mfischer@php.net Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2005-08-03 15:01 UTC] mfischer@php.net
Description:
------------
The documentation of ob_gzhandler lacks the description of the mode parameter. It only tells when it was added but not what its purpose is and how it works.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-08-04 14:17 UTC] vrana@php.net
ob_gzhandler() is not inteded for direct calling and it's clearly stated:

ob_gzhandler(): "ob_gzhandler() is intended to be used as a callback function for ob_start()"

ob_start(): "If the callback function has two parameters, the second parameter is filled with a bit-field consisting of PHP_OUTPUT_HANDLER_START, PHP_OUTPUT_HANDLER_CONT and PHP_OUTPUT_HANDLER_END."

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 03 04:01:31 2024 UTC