|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-07-13 05:13 UTC] tomas at pionect dot nl
[2016-08-31 15:22 UTC] cmb@php.net
-Status: Open
+Status: Wont fix
-Assigned To:
+Assigned To: cmb
[2016-08-31 15:22 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 23:00:01 2025 UTC |
Description: ------------ APC kills php upon some fatal errors. This is not a desired behavior when not running in a terminal. Instead APC should give php the opportunity to response with "Fatal error..." to the request. Reproduce code: --------------- test.php: <?php require('dummy_include.php'); require('dummy_include.php'); ?> dummy_include.php: <?php class a{} ?> Expected result: ---------------- Fatal error: Cannot redeclare class a in test.php on line .... That comes out if ones executes: <?php class a{}; class a{}; ?> which is the desired behavior. Actual result: -------------- php process is killed. "[apc-error] Cannot redeclare class a" is printed to stderr.