php.net |  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
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: useful-soft at yandex dot ru
New email:
PHP Version: OS:

 

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

Test script:
---------------
http://devbook.ru/cannot-redeclare-neulovimaya-fatalnaya-oshibka-v-php

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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-11-07 01:34 UTC] bwoebi@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: bwoebi
 [2015-11-07 01:34 UTC] bwoebi@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC