php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #2722 Call ob_end_flush() (if needed) on Fatal errors, parse errors, etc
Submitted: 1999-11-13 20:57 UTC Modified: 2000-07-31 22:03 UTC
From: joey at samaritan dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 Latest CVS (13/11/1999) OS: All
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: joey at samaritan dot com
New email:
PHP Version: OS:

 

 [1999-11-13 20:57 UTC] joey at samaritan dot com
If you are using output buffering, and PHP encounters a fatal error, it
would be nice if it would call ob_end_flush() so that the errors are propagated
to the browser, rather than getting "document contained no data"?

Is this possible? Is it easy?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-31 22:03 UTC] waldschrott@php.net
Usally if PHP encounters a fatal error it prints it out,
except on a crash, but I think it isn?t possible to create a
register_crash_function(), unfortunately...
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Jun 15 22:00:02 2026 UTC