mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
15 lines
211 B
PHP
15 lines
211 B
PHP
--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--
|