ID:               19692
 Updated by:       [EMAIL PROTECTED]
 Reported By:      asd at suespammers dot org
-Status:           Duplicate
+Status:           Bogus
 Bug Type:         Documentation problem
 Operating System: n/a
 PHP Version:      4.2.3
 New Comment:

use 'bogus' status..




Previous Comments:
------------------------------------------------------------------------

[2004-02-25 09:54:52] [EMAIL PROTECTED]

This a duplicate to #20447, closing this bug but leaving the other
open.  Will try to figure out in which cases output may still be sent
(perhaps today).

------------------------------------------------------------------------

[2003-06-20 14:30:07] dchatenay at hotmail dot com

Sorry, I meant bug #20447.

------------------------------------------------------------------------

[2003-06-20 14:29:23] dchatenay at hotmail dot com

I don't know how active this bug is. It looks related to bug #10447:
when you register a shutdown function, php used to release the
connection and execute the shutdown function in the background (thus
preventing you from sending any output obviously).

  Now it looks like the execution of the shutdown function will keep
the connection alive, and you may output some information.

  This is annoying since it used to work fine until recently, and I
can't find out what triggered this change in behaviour.

------------------------------------------------------------------------

[2002-10-01 10:04:42] asd at suespammers dot org

The register_shutdown_function documentation makes it sound like trying
to output to the web browser during a shutdown function is a no-op.



However, it seems that it isn't always. Sometimes the text goes out
fine; sometimes it goes out after, e.g., zlib compression, etc.



The documenation should probably be changed to state the behavior of
output done by a shutdown function is undefined, and strongly warn
against letting it happen.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=19692&edit=1

Reply via email to