mirror of
https://github.com/php/php-src.git
synced 2025-01-23 20:23:31 +08:00
632bee4abb
It was lowering in-place.
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)
|