Bug #72163 [Opn->Fbk]: Exceptions does not displays in browser output with low memory limit
| From: | cmb@php.net | Date: | Mon, 26 Jul 2021 21:37:20 +0000 |
| Subject: | Bug #72163 [Opn->Fbk]: Exceptions does not displays in browser output with low memory limit | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-235380@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72163&edit=1
ID: 72163
Updated by: cmb@php.net
Reported by: i at blackrabbit dot info
Summary: Exceptions does not displays in browser output with
low memory limit
-Status: Open
+Status: Feedback
Type: Bug
Package: Output Control
Operating System: OS X 10.11.5 Beta (15F31a)
PHP Version: 7.0.6
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Do you still experience this with any of the actively supported
PHP versions[1]?
[1] <https://www.php.net/supported-versions.php>
Previous Comments:
------------------------------------------------------------------------
[2016-05-05 08:37:22] i at blackrabbit dot info
Description:
------------
With the low memory limit of 1Mb throwing exceptions silently terminate all browser's output.
Exception still visible in the logs and everything works normally in the CLI mode, everything fine
in PHP 5.
Used software:
Brew's PHP 7.0.6 (built: Apr 29 2016 04:21:39) ( NTS )
OS X's Apache 2.4.18
Test script:
---------------
<?php
set_time_limit(1);
ini_set('memory_limit', '1M');
echo 'This is output before exception.';
Throw new \Exception('This is exception!');
?>
Expected result:
----------------
Exception and output before it should be visible.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72163&edit=1