1--TEST--
2Const class properties(runtime cache)
3--FILE--
4<?php
5class A {
6}
7
8$a = new A;
9
10echo "runtime\n";
11var_dump($a->{array()});
12var_dump($a->{1});
13var_dump($a->{function(){}});
14?>
15--EXPECTF--
16Notice: Array to string conversion in %sclass_properties_const.php on line %d
17runtime
18
19Notice: Undefined property: A::$Array in %sclass_properties_const.php on line %d
20NULL
21
22Notice: Undefined property: A::$1 in %sclass_properties_const.php on line %d
23NULL
24
25Recoverable fatal error: Object of class Closure could not be converted to string in %sclass_properties_const.php on line %d
26