<?
class A
{
static function hello()
{
echo "Hello World\n";
}
}
$y[0] = 'hello';
A::$y[0]();
?>
Output for 8.0.13
Fatal error: Uncaught Error: Access to undeclared static property A::$y in /in/PJ7GE:10
Stack trace:
#0 {main}
thrown in /in/PJ7GE on line 10
Process exited with code 255.
Fatal error: Uncaught Error: Access to undeclared static property: A::$y in /in/PJ7GE:10
Stack trace:
#0 {main}
thrown in /in/PJ7GE on line 10
Process exited with code 255.