1--TEST--
2Flexible heredoc syntax complex test 2: interpolated nested heredocs
3with the same delimiter name
4--FILE--
5<?php
6
7$a = 'b';
8${"b\nb\n d"} = 'b';
9
10var_dump(<<<DOC1
11    a
12    ${<<<DOC1
13        b
14        ${<<<DOC1
15            a
16            DOC1}
17         d
18        DOC1
19    }
20    c
21    DOC1);
22
23?>
24--EXPECT--
25string(5) "a
26b
27c"
28