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--EXPECTF--
17Deprecated: Using ${expr} (variable variables) in strings is deprecated, use {${expr}} instead in %s on line %d
18Exception
19