1--TEST--
2Accessing a static property on a statically evaluable class expression
3--FILE--
4<?php
5
6class A {
7    public static $b = 42;
8}
9var_dump(('A' . (string) '')::$b);
10
11?>
12--EXPECT--
13int(42)
14