|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72163 Exceptions does not displays in browser output with low memory limit
Submitted: 2016-05-05 08:37 UTC Modified: -
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: i at blackrabbit dot info Assigned:
Status: Open Package: Output Control
PHP Version: 7.0.6 OS: OS X 10.11.5 Beta (15F31a)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: i at blackrabbit dot info
New email:
PHP Version: OS:


 [2016-05-05 08:37 UTC] i at blackrabbit dot info
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:
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.


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue May 11 23:01:25 2021 UTC