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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mfischer@php.net
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 09 04:01:35 2025 UTC