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