ID: 19692 Comment by: dchatenay at hotmail dot com Reported By: asd at suespammers dot org Status: Open Bug Type: Documentation problem Operating System: n/a PHP Version: 4.2.3 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [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 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
