[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-bugs
Subject: [DOC-BUGS] Doc #64977 [Opn->Csd]: ob_start() fails when passed default parameters
From: girgias () php ! net
Date: 2024-01-07 14:05:32
Message-ID: E1rMTmO-007SlE-1f () bugs ! php ! net
[Download RAW message or body]
Edit report at https://bugs.php.net/bug.php?id=64977&edit=1
ID: 64977
Updated by: girgias@php.net
Reported by: rewilliams at newtekemail dot com
Summary: ob_start() fails when passed default parameters
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Output Control
PHP Version: 5.5.0RC2
-Assigned To:
+Assigned To: girgias
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2024-01-07 14:03:10] girgias@php.net
Closed by https://github.com/php/doc-en/pull/3073
------------------------------------------------------------------------
[2014-11-19 12:14:49] mike@php.net
See also Doc Bug #62019
------------------------------------------------------------------------
[2014-11-19 09:31:48] mike@php.net
PHP_OUTPUT_HANDLER_STARTED just indicates that the handler has been called previously \
with PHP_OUTPUT_HANDLER_START set, so it would not get that flag again, unless it has \
also seen PHP_OUTPUT_HANDLER_FINAL in the meantime.
So:
handler(PHP_OUTPUT_HANDLER_START) => flags |= STARTED
handler(PHP_OUTPUT_HANDLER_FINAL) => flags ^= STARTED
PHP_OUTPUT_HANDLER_DISABLED:
Internal output handlers can mark them self as disabled with \
php_output_handler_hook(PHP_OUTPUT_HANDLER_HOOK_DISABLE), when they f.e. detect an \
error; see README.NEW-OUTPUT-API. Also, when a call to an internal or userland \
handler fails, or the userland handler returns FALSE.
------------------------------------------------------------------------
[2013-10-01 18:37:07] aharvey@php.net
OK, documentation is done except for the PHP_OUTPUT_BUFFER_STARTED and
PHP_OUTPUT_BUFFER_DISABLED constants, mostly because I can't figure out how
they're useful.
Mike, help please? :)
------------------------------------------------------------------------
[2013-10-01 18:35:20] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=331632
Log: Document the ob_start() changes in PHP 5.4.
Mostly fixes doc bug #64977 (ob_start() fails when passed default parameters).
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=64977
--
Edit this bug report at https://bugs.php.net/bug.php?id=64977&edit=1
--
PHP Documentation Bugs Mailing List (https://www.php.net/)
To unsubscribe, visit: https://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic