From:             [EMAIL PROTECTED]
Operating system: n/a
PHP version:      4.2.3
PHP Bug Type:     Documentation problem
Bug description:  register_shutdown_function documentation unclear about output

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 bug report at http://bugs.php.net/?id=19692&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=19692&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=19692&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=19692&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=19692&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=19692&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=19692&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=19692&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=19692&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=19692&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=19692&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19692&r=php3


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to