summaryrefslogtreecommitdiff
path: root/Zend/tests/varSyntax/static_prop_on_expr_class.phpt
blob: d17b6cdb0b9da99b872d543290955a70c5cc4455 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
Accessing a static property on a statically evaluable class expression
--FILE--
<?php

class A {
    public static $b = 42;
}
var_dump(('A' . (string) '')::$b);

?>
--EXPECT--
int(42)