Bug #70944 [Opn->Csd]: try{ } finally{} can create infinite chains of exceptions
| From: | laruence@php.net | Date: | Fri, 20 Nov 2015 08:38:48 +0000 |
| Subject: | Bug #70944 [Opn->Csd]: try{ } finally{} can create infinite chains of exceptions | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-197344@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70944&edit=1
ID: 70944
Updated by: laruence@php.net
Reported by: laruence@php.net
Summary: try{ } finally{} can create infinite chains of
exceptions
-Status: Open
+Status: Closed
Type: Bug
Package: *General Issues
PHP Version: 5.6.15
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=a1c887964e34c0531b238e33a6b85e9925731194
Log: Fixed bug #70944 (try{ } finally{} can create infinite chains of exceptions)
Previous Comments:
------------------------------------------------------------------------
[2015-11-20 08:21:56] laruence@php.net
Description:
------------
try{ } finally{} can create infinite chains of exceptions
Test script:
---------------
<?php
$e = new Exception("Bar");
try {
throw new Exception("Foo", 0, $e);
} finally {
throw $e;
}
Expected result:
----------------
exit normally
Actual result:
--------------
script hangs
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70944&edit=1