1Invalid namespace names
2-----
3<?php use A as self;
4-----
5Cannot use A as self because 'self' is a special class name from 1:16 to 1:19
6array(
7    0: Stmt_Use(
8        type: TYPE_NORMAL (1)
9        uses: array(
10            0: UseItem(
11                type: TYPE_UNKNOWN (0)
12                name: Name(
13                    name: A
14                )
15                alias: Identifier(
16                    name: self
17                )
18            )
19        )
20    )
21)
22-----
23<?php use B as PARENT;
24-----
25Cannot use B as PARENT because 'PARENT' is a special class name from 1:16 to 1:21
26array(
27    0: Stmt_Use(
28        type: TYPE_NORMAL (1)
29        uses: array(
30            0: UseItem(
31                type: TYPE_UNKNOWN (0)
32                name: Name(
33                    name: B
34                )
35                alias: Identifier(
36                    name: PARENT
37                )
38            )
39        )
40    )
41)
42-----
43<?php use C as static;
44-----
45Syntax error, unexpected T_STATIC, expecting T_STRING from 1:16 to 1:21
46array(
47)
48