blob: b981dfc166ba2cd1a2b5b9b557968a5644edba2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--TEST--
Ensure null-initialization of nullable typed static property taken by reference
--FILE--
<?php
class A {
public static ?int $a;
}
$x =& A::$a;
var_dump($x);
?>
--EXPECT--
NULL
|