php.net |  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: -
Votes:1
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
Have you experienced this issue?
Rate the importance of this bug to you:

 [2016-05-05 08:37 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Feb 24 06:01:26 2020 UTC