1--TEST--
2Static type is not allowed in parameters
3--FILE--
4<?php
5
6// TODO: We could prohibit this case in the compiler instead.
7
8class Test {
9    public function test(static $param) {
10    }
11}
12
13?>
14--EXPECTF--
15Parse error: syntax error, unexpected token "static", expecting variable in %s on line %d
16