1--TEST--
2Static type is not allowed in properties
3--FILE--
4<?php
5
6// Testing ?static here, to avoid ambiguity with static properties.
7class Test {
8    public ?static $foo;
9}
10
11?>
12--EXPECTF--
13Parse error: syntax error, unexpected token "static" in %s on line %d
14