xref: /PHP-8.0/Zend/tests/lsb_007.phpt (revision 5d869df7)
1--TEST--
2ZE2 Late Static Binding ensuring implementing 'static' is not allowed
3--FILE--
4<?php
5
6class Foo implements static {
7}
8
9?>
10==DONE==
11--EXPECTF--
12Fatal error: Cannot use 'static' as interface name, as it is reserved in %s on line %d
13