Security update for Core, with self-updated composer
[yaffs-website] / vendor / nikic / php-parser / test / code / parser / stmt / namespace / groupUsePositions.test
1 Ensure correct file position attributes for group use prefix
2 -----
3 <?php
4 use Foo\Bar\{Baz};
5 -----
6 !!positions
7 array(
8     0: Stmt_GroupUse[2:1 - 2:17](
9         type: TYPE_UNKNOWN (0)
10         prefix: Name[2:5 - 2:11](
11             parts: array(
12                 0: Foo
13                 1: Bar
14             )
15         )
16         uses: array(
17             0: Stmt_UseUse[2:14 - 2:16](
18                 type: TYPE_NORMAL (1)
19                 name: Name[2:14 - 2:16](
20                     parts: array(
21                         0: Baz
22                     )
23                 )
24                 alias: Baz
25             )
26         )
27     )
28 )