mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-07 17:27:30 +00:00
14 lines
193 B
PHP
14 lines
193 B
PHP
--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)
|