summaryrefslogtreecommitdiff
path: root/Zend/tests/bug73337.phpt
blob: a338aa605c7814c36a079a790cff3240f9a65391 (plain)
1
2
3
4
5
6
7
8
9
--TEST--
Bug #73337 (try/catch not working with two exceptions inside a same operation)
--FILE--
<?php
class d { function __destruct() { throw new Exception; } }
try { new d + new d; } catch (Exception $e) { print "Exception properly caught\n"; }
?>
--EXPECT--
Exception properly caught