ID:               29846
 Comment by:       duerra at yahoo dot com
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Feature/Change Request
 Operating System: Irrelevant
 PHP Version:      5.0.1
 New Comment:

I am definitely looking for the pre PHP 4.1 functionality of the
register_shutdown_function() to be reintroduced, even if in a different
form.

One possibility would be to include a standard function to the effect
of close_remote_connection(); which would then allow the script to
continue executing, while flushing any remaining data to the user's
browser and closing the connection.  

This functionality has any number of useful purposes, where
(potentially time consuming) processing may need to be continued, but
where it is not relevant to any data being output to the end user. 
They should not need to wait around for the processing to finish, and
other workarounds and hacks to accomplishing this are inconvenient or
not always very practical.  

Please, please reintroduce some functionality to allow for this type of
purpose!


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

[2004-08-27 11:24:27] [EMAIL PROTECTED]

There is a patch for similar function by Joseph Tate at
http://marc.theaimsgroup.com/?l=php-dev&m=104092438811407&w=2

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

[2004-08-27 00:06:04] [EMAIL PROTECTED]

See also bug #15209

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

[2004-08-26 11:51:31] [EMAIL PROTECTED]

Description:
------------
Introduce function to force PHP to close the output stream so slower
non user related functions can be executed.



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


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

Reply via email to