summaryrefslogtreecommitdiff
path: root/Zend/tests/bug74188.phpt
blob: 3eb4facdd9c88ea978ab585f6289a55ea0dd6fc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
Fixes bug 74188 (undeclared static variables emit a warning with ?? operator)
--FILE--
<?php
abstract class Test
{
	public static function get()
	{
		static::$a ?? true;
	}
}
Test::get();
?>
--EXPECT--