Security update for Core, with self-updated composer
[yaffs-website] / vendor / nikic / php-parser / test / code / parser / stmt / namespace / name.test
1 Different name types
2 -----
3 <?php
4
5 A;
6 A\B;
7 \A\B;
8 namespace\A\B;
9 -----
10 array(
11     0: Expr_ConstFetch(
12         name: Name(
13             parts: array(
14                 0: A
15             )
16         )
17     )
18     1: Expr_ConstFetch(
19         name: Name(
20             parts: array(
21                 0: A
22                 1: B
23             )
24         )
25     )
26     2: Expr_ConstFetch(
27         name: Name_FullyQualified(
28             parts: array(
29                 0: A
30                 1: B
31             )
32         )
33     )
34     3: Expr_ConstFetch(
35         name: Name_Relative(
36             parts: array(
37                 0: A
38                 1: B
39             )
40         )
41     )
42 )