|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #8395 register_shutdown_function() error
Submitted: 2000-12-23 23:56 UTC Modified: 2010-11-24 13:57 UTC
From: osp at tinet dot org Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.0.3pl1 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: osp at tinet dot org
New email:
PHP Version: OS:


 [2000-12-23 23:56 UTC] osp at tinet dot org


print("Hi There! 1<br>");
print("Hi There! 2<br>");

function shutdown()
	print("Hi There! 3<br>");


- The last "Hi There! 3<br>" shouldn't appear on the client browser, but it does!

- Response to client browser takes > 10 seconds!

- The script response to the client browser should be sent at the normal exit point. The shutdown funcion should be quietly executed after the client browser got his complete response.

- Being able to send response before the script completely ends can be very useful for speeding up client response times for some applications.

Hope you take these comments in consideration...
(though I understand maybe there are some limitations on the apache architecture that prevent this from working- I don't know)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-11-24 13:57 UTC]
-Status: Open +Status: Bogus -Package: Feature/Change Request +Package: *General Issues
 [2010-11-24 13:57 UTC]
This is intentional and will not change.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Oct 19 14:03:33 2021 UTC