rfc:continue_ob
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
rfc:continue_ob [2015/02/19 13:23] – ^W->^H mike | rfc:continue_ob [2015/03/25 14:11] – accepted mike | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== PHP RFC: Continue output buffering despite aborted connection ====== | ====== PHP RFC: Continue output buffering despite aborted connection ====== | ||
- | * Version: 1.0 | + | * Version: 1.1 |
* Date: 2015-02-19 | * Date: 2015-02-19 | ||
- | * Last-Modfied: | + | * Last-Modfied: |
* Author: Michael Wallner < | * Author: Michael Wallner < | ||
- | * Status: | + | * Status: |
* First Published at: http:// | * First Published at: http:// | ||
Line 15: | Line 15: | ||
==== Current Status ==== | ==== Current Status ==== | ||
- | As of PHP-5.4 | + | As of PHP-5.4 |
=== ignore_user_abort = FALSE === | === ignore_user_abort = FALSE === | ||
Line 24: | Line 24: | ||
The script continues to run, but any **already buffered** output will be discarded after processing by any output handler, and more importantly, | The script continues to run, but any **already buffered** output will be discarded after processing by any output handler, and more importantly, | ||
+ | |||
+ | There are a few unimportant functions already broken now: | ||
+ | * phpinfo | ||
+ | * highlight_{file, | ||
+ | * print_r, var_export with return_output=TRUE | ||
+ | * SoapServer:: | ||
===== Proposal ===== | ===== Proposal ===== | ||
Line 37: | Line 43: | ||
=== ignore_user_abort = TRUE === | === ignore_user_abort = TRUE === | ||
- | The output buffer stack **stays intact and usable**. | + | The output buffer stack **stays intact and usable**. |
+ | |||
+ | **Only now** will any generated | ||
- | ==== Bacon^HBenefits | + | ==== Bacon^WBenefits |
Usage of ob_start([callback]) behaves the same, whether the connection was **aborted or not.** Still, you have to **deliberately enable** it with ignore_user_abort(TRUE). | Usage of ob_start([callback]) behaves the same, whether the connection was **aborted or not.** Still, you have to **deliberately enable** it with ignore_user_abort(TRUE). | ||
Line 52: | Line 60: | ||
Standard behavior will stay the same. | Standard behavior will stay the same. | ||
- | ===== Proposed Voting Choices | + | ===== Vote ===== |
- | Simple YES/NO vote with a 50%+1 majority needed to accept this RFC. | + | <doodle title=" |
+ | * Yes | ||
+ | * No | ||
+ | </doodle> | ||
+ | Vote will close on Sunday, March 22nd around 8:00UTC. | ||
===== Implementation ===== | ===== Implementation ===== | ||
Line 102: | Line 114: | ||
===== Changelog ===== | ===== Changelog ===== | ||
* 1.0 Proposed | * 1.0 Proposed | ||
+ | * 1.1 Rewordings, list of broken internal functions |
rfc/continue_ob.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1