Req #70867 [Opn->Csd]: Uncatchable fatal error.

From: Date: Sat, 07 Nov 2015 01:34:51 +0000
Subject: Req #70867 [Opn->Csd]: Uncatchable fatal error.
References: 1  Groups: php.standards 
Request: Send a blank email to standards-+get-872@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70867&edit=1 ID: 70867 Updated by: bwoebi@php.net Reported by: useful-soft at yandex dot ru Summary: Uncatchable fatal error. -Status: Open +Status: Closed Type: Feature/Change Request Package: PHP Language Specification Operating System: Linux PHP Version: 5.4.45 -Assigned To: +Assigned To: bwoebi Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2015-11-05 22:50:28] 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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=70867&edit=1

« previous php.standards (#872) next »