summaryrefslogtreecommitdiff
path: root/Zend/tests/varSyntax/static_prop_on_expr_class_with_backslash.phpt
blob: c78610401fb6695c01b952d739b3f62157cf93d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
Static property on constexpr class with leading backslash
--FILE--
<?php

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

?>
--EXPECT--
int(42)