1--TEST--
2Static member access
3--FILE--
4<?php
5
6class A {
7    public static $b = 0;
8    public static $c = [0, 1];
9    public static $A_str = 'A';
10}
11
12$A_str = 'A';
13$A_obj = new A;
14$b_str = 'b';
15$c_str = 'c';
16
17var_dump(A::$b);
18var_dump($A_str::$b);
19var_dump($A_obj::$b);
20var_dump(('A' . '')::$b);
21var_dump('A'::$b);
22var_dump('\A'::$b);
23var_dump('A'[0]::$b);
24var_dump(A::$$b_str);
25var_dump(A::$$c_str[1]);
26var_dump(A::$A_str::$b);
27
28?>
29--EXPECT--
30int(0)
31int(0)
32int(0)
33int(0)
34int(0)
35int(0)
36int(0)
37int(0)
38int(1)
39int(0)
40