ID: 41773
Updated by: [EMAIL PROTECTED]
-Summary: php_strip_whitespace sends headers with errors
suppressed (did not in 5.2.2)
Reported By: andi at splitbrain dot org
-Status: Open
+Status: Closed
Bug Type: Output Control
Operating System: Linux (Debian unstable)
PHP Version: 5.2.4-dev (200706222030)
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2007-06-25 19:57:23] andi at splitbrain dot org
I just verified it. The provided test code delivers the expected 'not
sent' output with PHP 5.2.2, so it broke with 5.2.3
------------------------------------------------------------------------
[2007-06-24 22:53:14] [EMAIL PROTECTED]
Did this work in 5.2.2 as you expected?
------------------------------------------------------------------------
[2007-06-24 16:50:01] andi at splitbrain dot org
Error suppression should suppress all output including sending headers.
This is crucial when cookies need to be sent later in the code. Please
note that this behavior broke in 5.2.3 and was working fine before
(breaking existing code).
------------------------------------------------------------------------
[2007-06-24 16:30:59] [EMAIL PROTECTED]
And why shouldn't the headers be sent? You're not getting any fatal
error there..
------------------------------------------------------------------------
[2007-06-22 22:29:10] andi at splitbrain dot org
Its still the same with the snapshot you linked.
------------------------------------------------------------------------
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
http://bugs.php.net/41773
--
Edit this bug report at http://bugs.php.net/?id=41773&edit=1