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

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

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

?>
--EXPECT--
Exception