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