1--TEST--
2Exception during nested rope
3--FILE--
4<?php
5
6set_error_handler(function() { throw new Exception; });
7
8try {
9    $a = "foo";
10    $str = "$a${"y$a$a"}y";
11} catch (Exception $e) {
12    echo "Exception\n";
13}
14
15?>
16--EXPECT--
17Exception
18