summaryrefslogtreecommitdiff
path: root/Zend/tests/exception_in_rope_end.phpt
blob: 3e6402c60f429986d9f25310c05096009c60a60e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--TEST--
Exception during rope finalization
--FILE--
<?php

set_error_handler(function() { throw new Exception; });

try {
    $b = "foo";
    $str = "y$b$a";
} catch (Exception $e) {
    echo "Exception\n";
}

?>
--EXPECT--
Exception