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