1--TEST--
2Const class member access with deference
3--FILE--
4<?php
5
6class A {
7    const A = ['a' => ['b' => 'c']];
8}
9
10var_dump(A::A);
11var_dump(A::A['a']);
12var_dump(A::A['a']['b']);
13
14?>
15--EXPECT--
16array(1) {
17  ["a"]=>
18  array(1) {
19    ["b"]=>
20    string(1) "c"
21  }
22}
23array(1) {
24  ["b"]=>
25  string(1) "c"
26}
27string(1) "c"
28