Bug #72163 [NEW]: Exceptions does not displays in browser output with low memory limit

From: Date: Thu, 05 May 2016 08:37:25 +0000
Subject: Bug #72163 [NEW]: Exceptions does not displays in browser output with low memory limit
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-200907@lists.php.net to get a copy of this message
From: i at blackrabbit dot info Operating system: OS X 10.11.5 Beta (15F31a) PHP version: 7.0.6 Package: Output Control Bug Type: Bug Bug description:Exceptions does not displays in browser output with low memory limit 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 bug report at https://bugs.php.net/bug.php?id=72163&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=72163&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=72163&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=72163&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=72163&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=72163&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=72163&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=72163&r=needscript Try newer version: https://bugs.php.net/fix.php?id=72163&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=72163&r=support Expected behavior: https://bugs.php.net/fix.php?id=72163&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=72163&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=72163&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=72163&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72163&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=72163&r=dst IIS Stability: https://bugs.php.net/fix.php?id=72163&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=72163&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=72163&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=72163&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=72163&r=mysqlcfg

« previous php.bugs (#200907) next »