|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #70867 Uncatchable fatal error.
Submitted: 2015-11-05 22:50 UTC Modified: 2015-11-07 01:34 UTC
From: useful-soft at yandex dot ru Assigned: bwoebi (profile)
Status: Closed Package: PHP Language Specification
PHP Version: 5.4.45 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
50 + 44 = ?
Subscribe to this entry?

 [2015-11-05 22:50 UTC] useful-soft at yandex dot ru
Uncatchable fatal error.

Test script:

Expected result:
'exception' or 'error handler'

Actual result:
Fatal error: Cannot redeclare test() (previously declared in /var/www/site/functions.php:5) in /var/www/site/functions.php on line 5


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-11-07 01:34 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: bwoebi
 [2015-11-07 01:34 UTC]
We throw Error in PHP 7 for most things. For everything else, it's really fatal and you only will be able to do cleanup in a register_shutdown_function() for example.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Oct 05 03:01:24 2023 UTC