Test: /Zend/tests/bug52361.phpt - Version 7.2.34        

Bug #52361 Throwing an exception in a destructor causes invalid catching
Submitted: 2010-07-16 14:10:05 Modified: 2010-08-16 11:24:00
From: hj.devs Assigned: dmitry
Status: Closed Package: Scripting Engine problem
PHP Version: 5.3.2 OS: Linux/Windows

There are 3 different diffs reported by users for this test.

Count Diff
548 (99%)
003+ #0 %s/bug52361.php(14): aaa->__destruct()
003- #0 %sbug52361.php(13): aaa->__destruct()
2 (0%)
003+ #0 %s/bug52361.php(11): aaa->__destruct()
003- #0 %sbug52361.php(13): aaa->__destruct()
1 (0%)
004+ #1 [internal function]: -{oneagentphp_closure}()
005+ #2 %s/bug52361.php(12): -oneagentphp_call_func(Object(Closure))
006+ #3 %s/bug52361.php(16): bbb()
007+ #4 {main}
008+ 2. Exception: -{oneagentphp_closure} in %s/bug52361.php:13
004- #1 %sbug52361.php(16): bbb()
005- #2 {main}
006- 2. Exception: bbb in %sbug52361.php:13
008- #0 %sbug52361.php(16): bbb()
009- #1 {main}
010+ #0 [internal function]: -{oneagentphp_closure}()
011+ #1 %s/bug52361.php(12): -oneagentphp_call_func(Object(Closure))
012+ #2 %s/bug52361.php(16): bbb()
013+ #3 {main}